mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-15 22:28:10 +08:00
Silence the dead-code warnings for groundwork the host wiring will use
This commit is contained in:
@@ -41,6 +41,7 @@ pub struct NodeRuntime {
|
||||
editor_preferences: EditorPreferences,
|
||||
old_graph: Option<NodeNetwork>,
|
||||
update_thumbnails: bool,
|
||||
#[expect(dead_code, reason = "read once the host wires a notifier onto the runtime")]
|
||||
graph_runtime: Arc<DynGraphRuntime>,
|
||||
|
||||
editor_api: Arc<PlatformEditorApi>,
|
||||
|
||||
@@ -17,6 +17,8 @@ pub fn setup_network(name: &str) -> (DynamicExecutor, ProtoNetwork) {
|
||||
(executor, proto_network)
|
||||
}
|
||||
|
||||
// Some benches in this module's include set drive the demos themselves.
|
||||
#[allow(dead_code)]
|
||||
pub fn bench_for_each_demo<M: Measurement, F>(group: &mut BenchmarkGroup<M>, f: F)
|
||||
where
|
||||
F: Fn(&str, &mut BenchmarkGroup<M>),
|
||||
|
||||
Reference in New Issue
Block a user