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 {
|
fn from((start, len): (ByteOffset, usize)) -> Self {
|
||||||
Self {
|
Self {
|
||||||
offset: start.into(),
|
offset: start.into(),
|
||||||
length: len.into(),
|
length: len,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue