extended: language 'code rust' (#3104)

Added all derives and some very common traits as well as `pub(crate)`.
This commit is contained in:
Cody Bloemhard 2022-06-11 00:33:51 +02:00 committed by GitHub
parent c16dde6602
commit c5baa8af09
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -36,6 +36,7 @@
"mut",
"&mut",
"pub",
"pub(crate)",
"ref",
"return",
"Self",
@ -166,11 +167,34 @@
"Path",
"PathBuf",
"Command",
"ToString",
"Display",
"From",
"Into",
"AsRef",
"Deref",
"Borrow",
"Read",
"Write",
"Iterator",
"Copy",
"Send",
"Sized",
"Sync",
"Unpin",
"env::args()",
"super::*",
"#[derive(Debug)]",
"#[derive(Default)]",
"#[derive(Clone)]",
"#[derive(Copy)]",
"#[derive(PartialEq)]",
"#[derive(Eq)]",
"#[derive(PartialOrd)]",
"#[derive(Ord)]",
"#[derive(Hash)]",
"#[cfg(test)]",
"#[test]"
"#[test]",
"#[should_panic]"
]
}