From f62d187ad7d9546c2c85864c1d98cd41a5234dac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonathan=20D=C3=B6nszelmann?= Date: Wed, 23 Oct 2024 15:05:28 +0200 Subject: [PATCH] fix clippy --- scopegraphs/src/render/mod.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scopegraphs/src/render/mod.rs b/scopegraphs/src/render/mod.rs index bc5260c..e8e9ae5 100644 --- a/scopegraphs/src/render/mod.rs +++ b/scopegraphs/src/render/mod.rs @@ -118,7 +118,8 @@ pub trait RenderScopeData { self.render_node().is_some() } - fn explicit_relabel(&self, scope_id: usize) -> Option { + /// Allows you to relabel specific scope IDs, can be useful for documentation purposes. + fn explicit_relabel(&self, _scope_id: usize) -> Option { None } }