Fix clippy

This commit is contained in:
Gavrilikhin Daniil 2023-05-13 22:48:59 +08:00
parent 5a4dd155a6
commit 6017db317b
1 changed files with 1 additions and 1 deletions

View File

@ -514,7 +514,7 @@ impl From<(ByteOffset, usize)> for SourceSpan {
fn from((start, len): (ByteOffset, usize)) -> Self {
Self {
offset: start.into(),
length: len.into(),
length: len,
}
}
}