From 7f30ba50386cd6eb99fca40ef3c772e726d87c75 Mon Sep 17 00:00:00 2001 From: jdonszelmann Date: Tue, 4 Jun 2024 22:18:39 +0200 Subject: [PATCH] clippy&fmt --- scopegraphs-render-docs/src/attrs.rs | 6 ------ 1 file changed, 6 deletions(-) diff --git a/scopegraphs-render-docs/src/attrs.rs b/scopegraphs-render-docs/src/attrs.rs index 8e6a867..635e85d 100644 --- a/scopegraphs-render-docs/src/attrs.rs +++ b/scopegraphs-render-docs/src/attrs.rs @@ -259,12 +259,6 @@ pub enum EvalError { ReadDir(io::Error), } -fn hash_str(s: &str) -> u64 { - let mut hasher = DefaultHasher::new(); - s.hash(&mut hasher); - hasher.finish() -} - fn find_diagrams(path: &Path) -> Result, EvalError> { let mut diagrams = Vec::new();