scroll_pane: remove unused blanket impls for Vec<Line> and Text
Co-Authored-By: Kent Overstreet <kent.overstreet@gmail.com>
This commit is contained in:
parent
d18bf6243a
commit
4a1f5acb85
1 changed files with 0 additions and 11 deletions
|
|
@ -28,17 +28,6 @@ impl<'a> ScrollItem for Line<'a> {
|
|||
}
|
||||
}
|
||||
|
||||
impl<'a> ScrollItem for Vec<Line<'a>> {
|
||||
fn content(&self) -> Text<'_> {
|
||||
Text::from(self.clone())
|
||||
}
|
||||
}
|
||||
|
||||
impl<'a> ScrollItem for Text<'a> {
|
||||
fn content(&self) -> Text<'_> {
|
||||
self.clone()
|
||||
}
|
||||
}
|
||||
|
||||
// ── State ──────────────────────────────────────────────────────
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue