Skip to content

Commit 63e4272

Browse files
adriangbclaude
andcommitted
Fix doc link and clippy lint in counting_object_store
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01MGnT9oETcFMydc9cp95HLG
1 parent 0ccc10c commit 63e4272

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

‎benchmarks/src/util/counting_object_store.rs‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
//!
2020
//! For real object stores every `get`/`get_opts` call is one GET, and a
2121
//! `get_ranges` call becomes one GET per *coalesced* range (ranges within
22-
//! [`OBJECT_STORE_COALESCE_DEFAULT`] of each other are merged into one
22+
//! `OBJECT_STORE_COALESCE_DEFAULT` of each other are merged into one
2323
//! request, following `object_store::coalesce_ranges`). This wrapper models
2424
//! that: it counts `get_opts` as one request and `get_ranges` as its merged
2525
//! range count, regardless of how the local filesystem actually serves them.
@@ -185,6 +185,7 @@ mod tests {
185185
use super::*;
186186

187187
#[test]
188+
#[expect(clippy::single_range_in_vec_init)]
188189
fn test_merged_request_count() {
189190
assert_eq!(merged_request_count(&[]), 0);
190191
assert_eq!(merged_request_count(&[0..10]), 1);

0 commit comments

Comments
 (0)