mirror of https://github.com/zkat/miette.git
Fix clippy
This commit is contained in:
parent
253a0f8a32
commit
4520d66815
|
|
@ -256,7 +256,7 @@ impl LabeledSpan {
|
||||||
/// )
|
/// )
|
||||||
/// ```
|
/// ```
|
||||||
pub fn at_offset(offset: ByteOffset, label: impl Into<String>) -> Self {
|
pub fn at_offset(offset: ByteOffset, label: impl Into<String>) -> Self {
|
||||||
Self::new(Some(label.into()), offset.into(), 0)
|
Self::new(Some(label.into()), offset, 0)
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Makes a new label without text, that underlines a specific span.
|
/// Makes a new label without text, that underlines a specific span.
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue