mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-26 02:09:00 +00:00
design-lint: list PresetSource's MemoProps impl
This commit is contained in:
@@ -161,6 +161,9 @@ const NO_GLOBAL_STATE: &[(&str, &str)] = &[
|
||||
("crates/ui-patterns/src/patterns/presets/model/library.rs", "MemoProps"),
|
||||
// Settled fact: a name check keys by its inputs and its `fn` behind `dyn NameChecker`, as `Bind::check_with` does.
|
||||
("crates/ui-patterns/src/patterns/presets/named.rs", "MemoProps"),
|
||||
// Settled fact: `PresetSource` erases its inputs behind a trait object; it keys on those inputs (themselves
|
||||
// `MemoProps`) and on the addresses of its capture-free `fn`s, which stand for the code that reads them.
|
||||
("crates/ui-patterns/src/patterns/presets/source.rs", "MemoProps"),
|
||||
// Settled fact: constant font bytes, decompressed once from compile-time input and immutable after init.
|
||||
("crates/ui-contract/src/fonts/defaults.rs", "HACK"),
|
||||
("crates/ui-contract/src/fonts/defaults.rs", "EGUI_ICONS"),
|
||||
|
||||
Reference in New Issue
Block a user