diff options
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, |