diff options
author | Blaž Hrastnik | 2020-05-28 05:45:44 +0000 |
---|---|---|
committer | Blaž Hrastnik | 2020-05-28 05:45:44 +0000 |
commit | b5c38812e923581a31eb5d38ddb96d44afd6505d (patch) | |
tree | 815aaf51e0ce1420d2a13d5961e663f4f2be29ac /helix-core/src/state.rs | |
parent | 23109f15129e3c3e89181164197c384861324b48 (diff) |
address clippy warnings
Diffstat (limited to 'helix-core/src/state.rs')
-rw-r--r-- | helix-core/src/state.rs | 1 |
1 files changed, 1 insertions, 0 deletions
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, |