mirror of
https://github.com/storytold/vectorcraft.git
synced 2026-12-05 05:22:58 -05:00
Scripts: wrap two long scriptcheck imports to rustfmt's width
The gate's fmt step failed on a9c8f363: the use lists in analyze.rs and
analyze/features.rs grew past rustfmt's max_width of 150 and were left on
one line. They are now wrapped as cargo fmt writes them.
This commit is contained in:
1 parent
a9c8f36345
commit
06d963a5f4
2 files changed
+7
-2
No files matched your search
@@ -27,7 +27,10 @@ use crate::catalog::{self, FeatureId};
|
||||
use crate::directives;
|
||||
use crate::lex::{Lexer, T, Token, expr_after};
|
||||
use crate::report::{self, Acc, OutsideId};
|
||||
use sig::{COMPOUND, LineBreaks, NEWER, Read, Sig, ends_value, exact_unquote, for_in, goes_on_after, goes_on_with, is, member_mark, newer_number, unquote, word};
|
||||
use sig::{
|
||||
COMPOUND, LineBreaks, NEWER, Read, Sig, ends_value, exact_unquote, for_in, goes_on_after, goes_on_with, is, member_mark, newer_number, unquote,
|
||||
word,
|
||||
};
|
||||
|
||||
mod declared;
|
||||
mod features;
|
||||
|
||||
@@ -1,6 +1,8 @@
|
||||
//! The platform features, menu commands and later syntax the analysis recognises.
|
||||
|
||||
use super::{Analyzer, COMPOUND, FeatureId, NEWER, OutsideId, Pending, Sig, T, catalog, exact_unquote, is, member_mark, newer_number, report, unquote, word};
|
||||
use super::{
|
||||
Analyzer, COMPOUND, FeatureId, NEWER, OutsideId, Pending, Sig, T, catalog, exact_unquote, is, member_mark, newer_number, report, unquote, word,
|
||||
};
|
||||
|
||||
/// Words that start or continue a statement or an expression, never a variable's name.
|
||||
const RESERVED: [&str; 24] = [
|
||||
|
||||
Reference in new issue
Block a user