Fix clippy

This commit is contained in:
Gavrilikhin Daniil 2023-05-13 09:31:00 +08:00
parent 253a0f8a32
commit 4520d66815
1 changed files with 1 additions and 1 deletions

View File

@ -256,7 +256,7 @@ impl LabeledSpan {
/// )
/// ```
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.