mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-25 08:48:12 +08:00
A few minor lints and docs (#1436)
* A few minor lints and docs * Added required packages to compile on Debian-style linux * Inlined some format args, and removed some `&` in args (they cause about 6% slowdown that compiler cannot inline) * a few spelling mistakes * fix fmt
This commit is contained in:
@@ -302,7 +302,7 @@ impl LayerNodeIdentifier {
|
||||
pub fn new(node_id: NodeId, network: &NodeNetwork) -> Self {
|
||||
debug_assert!(
|
||||
is_layer_node(node_id, network),
|
||||
"Layer identifer constructed from non layer node {node_id}: {:#?}",
|
||||
"Layer identifier constructed from non layer node {node_id}: {:#?}",
|
||||
network.nodes.get(&node_id)
|
||||
);
|
||||
Self::new_unchecked(node_id)
|
||||
|
||||
Reference in New Issue
Block a user