mirror of
https://github.com/monkeytypegame/monkeytype.git
synced 2025-03-10 05:35:05 +08:00
feat(language): add more words to code_rust.json (#2563)
This commit is contained in:
parent
c0f2a066ff
commit
06ed2d4ddd
1 changed files with 80 additions and 1 deletions
|
@ -65,34 +65,113 @@
|
|||
"i32",
|
||||
"i64",
|
||||
"i128",
|
||||
"f32",
|
||||
"f64",
|
||||
"isize",
|
||||
"bool",
|
||||
"char",
|
||||
"str",
|
||||
"&str",
|
||||
"[0; 3]",
|
||||
"[bool; 5]",
|
||||
"[i32; 8]",
|
||||
"[f32; 3]",
|
||||
"&[u8]",
|
||||
"&[u16]",
|
||||
"()",
|
||||
"(i32, i32)",
|
||||
"(&str, f32, u8)",
|
||||
"Vec",
|
||||
"Vec::new()",
|
||||
"Vec<T>",
|
||||
"Vec<u8>",
|
||||
"Vec<u16>",
|
||||
"Vec<u32>",
|
||||
"Vec<i32>",
|
||||
"Vec<&str>",
|
||||
"Vec<String>",
|
||||
"vec![]",
|
||||
"HashMap",
|
||||
"HashMap::new()",
|
||||
"String",
|
||||
"String::new()",
|
||||
"&String",
|
||||
"String::from(\"monkeytype\")",
|
||||
"\"monkeytype\".to_string()",
|
||||
"collect::<Vec<i32>>()",
|
||||
"trim()",
|
||||
"parse()",
|
||||
"len()",
|
||||
"split(\" \")",
|
||||
"push('a')",
|
||||
"push_str(\"bar\")",
|
||||
"contains(\"foo\")",
|
||||
"is_empty()",
|
||||
"parse::<u32>()",
|
||||
"chars()",
|
||||
"to_lowercase()",
|
||||
"to_uppercase()",
|
||||
"replace(\"a\", \"b\")",
|
||||
"box",
|
||||
"lazy_static",
|
||||
"iter()",
|
||||
"into_iter()",
|
||||
"map(|s| s.trim())",
|
||||
"filter(|x| x.is_ok())",
|
||||
"any(|x| x == 2)",
|
||||
"<'a>",
|
||||
"&'a",
|
||||
"map",
|
||||
"BTreeMap",
|
||||
"BTreeSet",
|
||||
"VecDeque",
|
||||
"LinkedList",
|
||||
"HashSet",
|
||||
"&'static",
|
||||
"..",
|
||||
"..=",
|
||||
"?",
|
||||
"macro_rules!",
|
||||
"{}",
|
||||
"{:?}",
|
||||
"{:#?}",
|
||||
"format!",
|
||||
"unwrap()"
|
||||
"unwrap()",
|
||||
"expect(\"fail\")",
|
||||
"Ok(())",
|
||||
"is_ok",
|
||||
"is_err",
|
||||
"is_some",
|
||||
"is_none",
|
||||
"assert!",
|
||||
"assert_eq!",
|
||||
"into()",
|
||||
"try_into()",
|
||||
"from()",
|
||||
"clone()",
|
||||
"std",
|
||||
"std::io",
|
||||
"std::collections",
|
||||
"std::fs",
|
||||
"std::fmt",
|
||||
"std::env",
|
||||
"std::num",
|
||||
"std::path",
|
||||
"std::process",
|
||||
"io::Error",
|
||||
"io::Result<()>",
|
||||
"io::stdin()",
|
||||
"read_line",
|
||||
"fs::File",
|
||||
"Path",
|
||||
"PathBuf",
|
||||
"Command",
|
||||
"env::args()",
|
||||
"super::*",
|
||||
"#[derive(Debug)]",
|
||||
"#[derive(PartialEq)]",
|
||||
"#[cfg(test)]",
|
||||
"#[test]"
|
||||
]
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue