mirror of
https://github.com/SpaceManiac/SpacemanDMM.git
synced 2025-12-23 05:36:47 +00:00
rustfmt: Add some #[rustfmt::skip]s for later
This commit is contained in:
parent
f030e316b9
commit
a97f9b47bb
3 changed files with 4 additions and 1 deletions
|
|
@ -13,6 +13,7 @@ use crate::{is_constructor_name, Engine, Span};
|
|||
|
||||
use ahash::RandomState;
|
||||
|
||||
#[rustfmt::skip]
|
||||
static PROC_KEYWORDS: &[&str] = &[
|
||||
// Implicit variables
|
||||
"args",
|
||||
|
|
|
|||
|
|
@ -147,6 +147,7 @@ impl fmt::Display for Punctuation {
|
|||
/// This lookup table is used to keep `read_punct`, called for essentially each
|
||||
/// character in the input, blazing fast. The code to generate it is contained
|
||||
/// in the following test.
|
||||
#[rustfmt::skip]
|
||||
static SPEEDY_TABLE: [(usize, usize); 127] = [
|
||||
(0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0),
|
||||
(0, 0), (0, 1), (1, 2), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0),
|
||||
|
|
@ -164,7 +165,7 @@ static SPEEDY_TABLE: [(usize, usize); 127] = [
|
|||
(0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0),
|
||||
(0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0), (0, 0),
|
||||
(0, 0), (0, 0), (0, 0), (59, 61), (61, 65), (65, 66), (66, 69),
|
||||
];
|
||||
];
|
||||
|
||||
#[test]
|
||||
fn make_speedy_table() {
|
||||
|
|
|
|||
|
|
@ -722,6 +722,7 @@ impl<'ctx> Preprocessor<'ctx> {
|
|||
}
|
||||
}
|
||||
|
||||
#[rustfmt::skip]
|
||||
const ALL_DIRECTIVES: &[&str] = &[
|
||||
"if", "ifdef", "ifndef", "elif", "else", "endif",
|
||||
"include", "define", "undef", "warn", "error", "pragma",
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue