This is an automated email from the ASF dual-hosted git repository. tison pushed a commit to branch tisonkun-patch-1 in repository https://gitbox.apache.org/repos/asf/datasketches-rust.git
commit fc9b8b24ca945f0f48047e048f770258bb5298e8 Author: tison <[email protected]> AuthorDate: Mon Jan 19 13:49:52 2026 +0800 chore: correct CountMinSketch::suggest_num_hashes panic docs --- datasketches/src/countmin/sketch.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/datasketches/src/countmin/sketch.rs b/datasketches/src/countmin/sketch.rs index 4f8225b..321c836 100644 --- a/datasketches/src/countmin/sketch.rs +++ b/datasketches/src/countmin/sketch.rs @@ -129,7 +129,7 @@ impl CountMinSketch { /// /// # Panics /// - /// Panics if `confidence` is not in (0, 1]. + /// Panics if `confidence` is not in [0, 1]. pub fn suggest_num_hashes(confidence: f64) -> u8 { assert!( (0.0..=1.0).contains(&confidence), --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
