Skip to content

Commit c310c08

Browse files
Update src/data_structures/skip_list.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d1dbc31 commit c310c08

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/data_structures/skip_list.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -243,7 +243,7 @@ impl<K: Ord, V> Drop for SkipList<K, V> {
243243
}
244244
}
245245

246-
pub fn random_value(max: usize) -> usize {
246+
fn random_value(max: usize) -> usize {
247247
let mut v = 1usize;
248248
loop {
249249
if random_range(1usize..10usize) > 5 && v < max {

0 commit comments

Comments
 (0)