From b5c38812e923581a31eb5d38ddb96d44afd6505d Mon Sep 17 00:00:00 2001 From: Blaž Hrastnik Date: Thu, 28 May 2020 14:45:44 +0900 Subject: address clippy warnings --- helix-core/src/state.rs | 1 + 1 file changed, 1 insertion(+) (limited to 'helix-core/src/state.rs') diff --git a/helix-core/src/state.rs b/helix-core/src/state.rs index 81b8e108..b4a3f2f0 100644 --- a/helix-core/src/state.rs +++ b/helix-core/src/state.rs @@ -8,6 +8,7 @@ pub struct State { } impl State { + #[must_use] pub fn new(buffer: Buffer) -> Self { Self { buffer, -- cgit v1.2.3-70-g09d2