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, } }