Fix clippy

This commit is contained in:
Gavrilikhin Daniil 2023-05-14 18:51:43 +08:00
parent 998a7f2130
commit ba88cfbda2
1 changed files with 1 additions and 1 deletions

View File

@ -495,7 +495,7 @@ impl SourceSpan {
pub fn new(start: SourceOffset, length: usize) -> Self {
Self {
offset: start,
length: length,
length,
}
}