mirror of
https://github.com/rust-lang/rust-clippy
synced 2024-11-24 05:33:27 +00:00
Merge pull request #3456 from matthiaskrgr/builtin
constants: add u128 i128 builtin types and fix outdated url
This commit is contained in:
commit
03498fd502
1 changed files with 3 additions and 1 deletions
|
@ -16,7 +16,7 @@
|
||||||
///
|
///
|
||||||
/// See also [the reference][reference-types] for a list of such types.
|
/// See also [the reference][reference-types] for a list of such types.
|
||||||
///
|
///
|
||||||
/// [reference-types]: https://doc.rust-lang.org/reference.html#types
|
/// [reference-types]: https://doc.rust-lang.org/reference/types.html
|
||||||
pub const BUILTIN_TYPES: &[&str] = &[
|
pub const BUILTIN_TYPES: &[&str] = &[
|
||||||
"i8",
|
"i8",
|
||||||
"u8",
|
"u8",
|
||||||
|
@ -26,6 +26,8 @@ pub const BUILTIN_TYPES: &[&str] = &[
|
||||||
"u32",
|
"u32",
|
||||||
"i64",
|
"i64",
|
||||||
"u64",
|
"u64",
|
||||||
|
"i128",
|
||||||
|
"u128",
|
||||||
"isize",
|
"isize",
|
||||||
"usize",
|
"usize",
|
||||||
"f32",
|
"f32",
|
||||||
|
|
Loading…
Reference in a new issue