summaryrefslogtreecommitdiff
path: root/src/ide
diff options
context:
space:
mode:
authorLaurenz <laurmaedje@gmail.com>2023-01-20 14:14:13 +0100
committerLaurenz <laurmaedje@gmail.com>2023-01-20 14:21:59 +0100
commitb73b4f33bcf0e4ff2cfa8438433205cd3a323e43 (patch)
treeb59ee2c6f46558b7e6a0b2b50e0f7e93afeb3ace /src/ide
parentdd331f007cb9c9968605f8d3eaef8fb498c21322 (diff)
Fix a few clippy lints
Diffstat (limited to 'src/ide')
-rw-r--r--src/ide/tooltip.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ide/tooltip.rs b/src/ide/tooltip.rs
index 8c734bbb..0d46695b 100644
--- a/src/ide/tooltip.rs
+++ b/src/ide/tooltip.rs
@@ -26,7 +26,7 @@ fn function_tooltip(world: &dyn World, leaf: &LinkedNode) -> Option<String> {
if let Some(Value::Func(func)) = world.library().scope.get(&ident);
if let Some(info) = func.info();
then {
- return Some(plain_docs_sentence(&info.docs));
+ return Some(plain_docs_sentence(info.docs));
}
}