Fix benchmark issue.
This commit is contained in:
parent
1b025ae56e
commit
d036f50b60
1 changed files with 1 additions and 1 deletions
|
|
@ -27,7 +27,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.shape_until_scroll(&mut fs);
|
||||
buffer.shape_until_scroll(&mut fs, false);
|
||||
};
|
||||
|
||||
group.bench_function("small amount of text", |b| {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue