mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-21 13:08: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:
@@ -5,7 +5,7 @@ pub struct LogToConsoleNode;
|
||||
#[node_macro::node_fn(LogToConsoleNode)]
|
||||
fn log_to_console<T: core::fmt::Debug>(value: T) -> T {
|
||||
#[cfg(not(target_arch = "spirv"))]
|
||||
debug!("{:#?}", value);
|
||||
debug!("{value:#?}");
|
||||
value
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user