Skip to content

Commit

Permalink
Fix clippy
Browse files Browse the repository at this point in the history
  • Loading branch information
gavrilikhin-d committed May 13, 2023
1 parent aec5255 commit 2a2109c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/protocol.rs
Original file line number Diff line number Diff line change
Expand Up @@ -459,7 +459,7 @@ impl From<(ByteOffset, usize)> for SourceSpan {
fn from((start, len): (ByteOffset, usize)) -> Self {
Self {
offset: start.into(),
length: len.into(),
length: len,
}
}
}
Expand Down

0 comments on commit 2a2109c

Please sign in to comment.