Skip to content

Commit e0ded11

Browse files
committed
remove unused code
Signed-off-by: Travis <[email protected]>
1 parent 1dab3f8 commit e0ded11

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

src/models/feature_snapshot.rs

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -144,15 +144,6 @@ impl Feature for FeatureSnapshot {
144144
}
145145
}
146146

147-
pub(crate) fn random_value(v: &str) -> u32 {
148-
let max_hash = u32::MAX;
149-
(f64::from(hash(v)) / f64::from(max_hash) * 100.0) as u32
150-
}
151-
152-
fn hash(v: &str) -> u32 {
153-
murmur3_32(&mut Cursor::new(v), 0).expect("Cannot hash the value.")
154-
}
155-
156147
#[cfg(test)]
157148
pub mod tests {
158149

0 commit comments

Comments
 (0)