From d036f50b60e7c620a79b169cc7f2eedfa67e591e Mon Sep 17 00:00:00 2001 From: dtzxporter Date: Thu, 1 Feb 2024 20:17:08 -0500 Subject: [PATCH] Fix benchmark issue. --- benches/layout.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/benches/layout.rs b/benches/layout.rs index 7249788..e5023de 100644 --- a/benches/layout.rs +++ b/benches/layout.rs @@ -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| {