mirror of
https://github.com/servo/servo.git
synced 2025-08-06 22:15:33 +01:00
clippy: Fix warnings in shared
and config
, fonts
, layout
, and layout_2020
components (#32674)
This commit is contained in:
parent
99c1f886b8
commit
4b63043c6a
20 changed files with 72 additions and 78 deletions
|
@ -21,7 +21,7 @@ use xi_unicode::LineBreakLeafIter;
|
|||
|
||||
thread_local! {
|
||||
static INDEX_OF_FIRST_GLYPH_RUN_CACHE: Cell<Option<(*const TextRun, ByteIndex, usize)>> =
|
||||
Cell::new(None)
|
||||
const { Cell::new(None) }
|
||||
}
|
||||
|
||||
/// A single "paragraph" of text in one font size and style.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue