]> git.lizzy.rs Git - rust.git/blob - clippy_lints/src/utils/constants.rs
Change Hash{Map, Set} to FxHash{Map, Set}
[rust.git] / clippy_lints / src / utils / constants.rs
1 //! This module contains some useful constants.
2
3 #![deny(clippy::missing_docs_in_private_items)]
4
5 /// List of the built-in types names.
6 ///
7 /// See also [the reference][reference-types] for a list of such types.
8 ///
9 /// [reference-types]: https://doc.rust-lang.org/reference.html#types
10 pub const BUILTIN_TYPES: &[&str] = &[
11     "i8",
12     "u8",
13     "i16",
14     "u16",
15     "i32",
16     "u32",
17     "i64",
18     "u64",
19     "isize",
20     "usize",
21     "f32",
22     "f64",
23     "bool",
24     "str",
25     "char",
26 ];