Lint
This commit is contained in:
parent
688fd2f1b1
commit
941100d715
4 changed files with 37 additions and 12 deletions
|
|
@ -25,7 +25,7 @@ impl From<OwnedTextWithCursors> for TextWithCursors<'_> {
|
|||
owned
|
||||
.cursors
|
||||
.into_iter()
|
||||
.map(|cursor| cursor.into())
|
||||
.map(std::convert::Into::into)
|
||||
.collect(),
|
||||
)
|
||||
}
|
||||
|
|
@ -38,7 +38,7 @@ impl From<TextWithCursors<'_>> for OwnedTextWithCursors {
|
|||
cursors: text_with_cursors
|
||||
.cursors
|
||||
.into_iter()
|
||||
.map(|cursor| cursor.into())
|
||||
.map(std::convert::Into::into)
|
||||
.collect(),
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue