mirror of https://github.com/zkat/miette.git
Fix clippy
This commit is contained in:
parent
5a4dd155a6
commit
6017db317b
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue