Skip to content

Commit 3d9ab0e

Browse files
committed
code format
1 parent 9ecdad9 commit 3d9ab0e

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

questdb-rs-ffi/src/ndarr.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -717,7 +717,7 @@ mod tests {
717717
}
718718

719719
#[test]
720-
fn test_stride_array_view_strides_with_elem_size() -> TestResult {
720+
fn test_stride_array_view_strides_with_elem_strides() -> TestResult {
721721
// contiguous layout
722722
let test_data = vec![1.0, 2.0, 3.0, 4.0, 5.0, 6.0];
723723
let shape = [2usize, 3];

questdb-rs/src/ingress/http.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -507,7 +507,9 @@ pub(super) fn read_server_settings(
507507
})?;
508508

509509
let mut support_versions: Vec<ProtocolVersion> = vec![];
510-
if let Some(serde_json::Value::Array(ref values)) = json.get("config").and_then(|v| v.get("line.proto.support.versions"))
510+
if let Some(serde_json::Value::Array(ref values)) = json
511+
.get("config")
512+
.and_then(|v| v.get("line.proto.support.versions"))
511513
{
512514
for value in values.iter() {
513515
if let Some(v) = value.as_u64() {

0 commit comments

Comments
 (0)