From ba88cfbda2baeabeaf43558164197bd7ad6b2f34 Mon Sep 17 00:00:00 2001 From: Gavrilikhin Daniil Date: Sun, 14 May 2023 18:51:43 +0800 Subject: [PATCH] Fix clippy --- src/protocol.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protocol.rs b/src/protocol.rs index 1e9c7a4..b0177c6 100644 --- a/src/protocol.rs +++ b/src/protocol.rs @@ -495,7 +495,7 @@ impl SourceSpan { pub fn new(start: SourceOffset, length: usize) -> Self { Self { offset: start, - length: length, + length, } }