diff --git a/rust/lancedb/src/function.rs b/rust/lancedb/src/function.rs index 843b7fc97..7d679027b 100644 --- a/rust/lancedb/src/function.rs +++ b/rust/lancedb/src/function.rs @@ -683,9 +683,11 @@ mod conda_environment_tests { ) .unwrap(); assert_eq!(conda.channels, ["conda-forge"]); - assert!(serde_json::to_string(&conda) - .unwrap() - .contains(r#""channels":["conda-forge"]"#)); + assert!( + serde_json::to_string(&conda) + .unwrap() + .contains(r#""channels":["conda-forge"]"#) + ); let pip: PythonEnvironmentSpec = serde_json::from_str(r#"{"kind":"pip","packages":["numpy"]}"#).unwrap(); diff --git a/rust/lancedb/tests/first_class_function_slice1.rs b/rust/lancedb/tests/first_class_function_slice1.rs index ded5ac7c3..c39a0920f 100644 --- a/rust/lancedb/tests/first_class_function_slice1.rs +++ b/rust/lancedb/tests/first_class_function_slice1.rs @@ -135,7 +135,9 @@ fn unknown_fields_and_discriminators_are_forward_decodable() { fn floating_point_application_literals_are_rejected_consistently() { let error = FunctionApplication::from_json(&fixture("remote_function_application_float.json")) .unwrap_err(); - assert!(error - .to_string() - .contains("floating-point Function literals")); + assert!( + error + .to_string() + .contains("floating-point Function literals") + ); }