diff options
| author | Philipp Hansch <dev@phansch.net> | 2018-11-26 07:19:14 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-11-26 07:19:14 +0100 |
| commit | 03498fd502c1746e968d91244f8d48a8a061e245 (patch) | |
| tree | 570978385a71419d828c8375301bc6cfda525bd6 | |
| parent | 69d09fbfc6fe10dd20cf27f737e7ff6175e2c642 (diff) | |
| parent | ae32c877a5adb87af38fce0be918a6a03f8b3540 (diff) | |
| download | rust-03498fd502c1746e968d91244f8d48a8a061e245.tar.gz rust-03498fd502c1746e968d91244f8d48a8a061e245.zip | |
Merge pull request #3456 from matthiaskrgr/builtin
constants: add u128 i128 builtin types and fix outdated url
| -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", |
