From 06aca7691c845d129abc49fb649ea7c42376a077 Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Wed, 24 Mar 2021 14:52:13 +0900 Subject: clippy lint --- helix-core/src/comment.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-core/src/comment.rs') diff --git a/helix-core/src/comment.rs b/helix-core/src/comment.rs index 5bcf3767..c3b91b4f 100644 --- a/helix-core/src/comment.rs +++ b/helix-core/src/comment.rs @@ -37,6 +37,7 @@ fn find_line_comment( (commented, skipped, min) } +#[must_use] pub fn toggle_line_comments(doc: &Rope, selection: &Selection) -> Transaction { let text = doc.slice(..); let mut changes: Vec = Vec::new(); -- cgit v1.2.3-70-g09d2