Remove AttrsList lifetime bound

This commit is contained in:
Jeremy Soller 2022-11-04 09:44:54 -06:00
parent 06cb0c2637
commit ac354c3a2a
No known key found for this signature in database
GPG key ID: 87F211AF2BE4C2FE
6 changed files with 114 additions and 44 deletions

View file

@ -141,7 +141,7 @@ impl fmt::Display for Metrics {
pub struct Buffer<'a> {
font_system: &'a FontSystem<'a>,
/// Lines (or paragraphs) of text in the buffer
pub lines: Vec<BufferLine<'a>>,
pub lines: Vec<BufferLine>,
metrics: Metrics,
width: i32,
height: i32,