Skip to content

Commit 03498fd

Browse files
authored
Merge pull request #3456 from matthiaskrgr/builtin
constants: add u128 i128 builtin types and fix outdated url
2 parents 69d09fb + ae32c87 commit 03498fd

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

clippy_lints/src/utils/constants.rs

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
///
1717
/// See also [the reference][reference-types] for a list of such types.
1818
///
19-
/// [reference-types]: https://doc.rust-lang.org/reference.html#types
19+
/// [reference-types]: https://doc.rust-lang.org/reference/types.html
2020
pub const BUILTIN_TYPES: &[&str] = &[
2121
"i8",
2222
"u8",
@@ -26,6 +26,8 @@ pub const BUILTIN_TYPES: &[&str] = &[
2626
"u32",
2727
"i64",
2828
"u64",
29+
"i128",
30+
"u128",
2931
"isize",
3032
"usize",
3133
"f32",

0 commit comments

Comments
 (0)