diff options
| author | Matthias Krüger <matthias.krueger@famsik.de> | 2018-11-26 01:12:12 +0100 |
|---|---|---|
| committer | Matthias Krüger <matthias.krueger@famsik.de> | 2018-11-26 01:12:12 +0100 |
| commit | ae32c877a5adb87af38fce0be918a6a03f8b3540 (patch) | |
| tree | 570978385a71419d828c8375301bc6cfda525bd6 /clippy_lints | |
| parent | 69d09fbfc6fe10dd20cf27f737e7ff6175e2c642 (diff) | |
| download | rust-ae32c877a5adb87af38fce0be918a6a03f8b3540.tar.gz rust-ae32c877a5adb87af38fce0be918a6a03f8b3540.zip | |
constants: add u128 i128 builtin types and fix outdated url
Diffstat (limited to 'clippy_lints')
| -rw-r--r-- | clippy_lints/src/utils/constants.rs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/clippy_lints/src/utils/constants.rs b/clippy_lints/src/utils/constants.rs index 42da95a12ed..2e87191d720 100644 --- a/clippy_lints/src/utils/constants.rs +++ b/clippy_lints/src/utils/constants.rs @@ -16,7 +16,7 @@ /// /// 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] = &[ "i8", "u8", @@ -26,6 +26,8 @@ pub const BUILTIN_TYPES: &[&str] = &[ "u32", "i64", "u64", + "i128", + "u128", "isize", "usize", "f32", |
