]> git.lizzy.rs Git - rust.git/blob - src/tools/clippy/clippy_lints/src/utils/constants.rs
Rollup merge of #71591 - hermitcore:thread_create, r=hanna-kruppe
[rust.git] / src / tools / clippy / 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/types.html
10 pub const BUILTIN_TYPES: &[&str] = &[
11     "i8", "u8", "i16", "u16", "i32", "u32", "i64", "u64", "i128", "u128", "isize", "usize", "f32", "f64", "bool",
12     "str", "char",
13 ];