Commit 0ce557f
committed
style: apply clippy suggestions for code quality improvements
- Replace raw string literal `r#"[1, 2, 3]"#` with simpler `r"[1, 2, 3]"` in extract_json_direct_array test
- Remove redundant `chrono::` prefix from `Utc::now()` call in metadata_filter_not_empty_with_timestamp test
- Replace manual dot product calculation with `mul_add` for better numerical precision in cosine_similarity_arbitrary test1 parent 6bfe774 commit 0ce557f
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
352 | 352 | | |
353 | 353 | | |
354 | 354 | | |
355 | | - | |
| 355 | + | |
356 | 356 | | |
357 | 357 | | |
358 | 358 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
134 | | - | |
| 134 | + | |
135 | 135 | | |
136 | 136 | | |
137 | 137 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
846 | 846 | | |
847 | 847 | | |
848 | 848 | | |
849 | | - | |
| 849 | + | |
850 | 850 | | |
851 | 851 | | |
852 | 852 | | |
| |||
0 commit comments