fontdb 0.23 (#383)

* fix bench

* update Cargo.toml fontdb 0.23
This commit is contained in:
tigregalis 2025-04-21 23:58:26 +08:00 committed by GitHub
parent 9e7a56f083
commit b017d7c856
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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);
};