Skip to content

Commit 5cc2957

Browse files
committed
remove the function too
1 parent 0390bf1 commit 5cc2957

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

rust-tests/src/lib.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -302,14 +302,6 @@ mod tests {
302302
extract_path
303303
}
304304

305-
fn variant_hash(src: String) -> String {
306-
use sha1::Digest;
307-
let mut hasher = sha1::Sha1::new();
308-
hasher.update(src);
309-
let hash = hasher.finalize();
310-
format!("h{hash:x}")[..8].to_string()
311-
}
312-
313305
#[test]
314306
fn test_pkg_hash() {
315307
let tmp = tmp("test_pkg_hash");

0 commit comments

Comments
 (0)