mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-27 10:58:11 +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:
@@ -24,7 +24,7 @@ pub fn derive_discriminant_impl(input_item: TokenStream) -> syn::Result<TokenStr
|
||||
};
|
||||
is_sub_discriminant.push(true);
|
||||
}
|
||||
n => unimplemented!("#[sub_discriminant] on variants with {} fields is not supported (for now)", n),
|
||||
n => unimplemented!("#[sub_discriminant] on variants with {n} fields is not supported (for now)"),
|
||||
}
|
||||
} else {
|
||||
var.fields = Fields::Unit;
|
||||
|
||||
Reference in New Issue
Block a user