parent
9e7a56f083
commit
b017d7c856
2 changed files with 2 additions and 2 deletions
|
|
@ -26,7 +26,7 @@ fn layout(c: &mut Criterion) {
|
|||
|
||||
let mut run_on_text = |text: &str| {
|
||||
buffer.lines.clear();
|
||||
buffer.set_text(&mut fs, text, ct::Attrs::new(), *shape);
|
||||
buffer.set_text(&mut fs, text, &ct::Attrs::new(), *shape);
|
||||
buffer.shape_until_scroll(&mut fs, false);
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue