Merge pull request #3456 from matthiaskrgr/builtin

constants: add u128 i128 builtin types and fix outdated url
This commit is contained in:
Philipp Hansch 2018-11-26 07:19:14 +01:00 committed by GitHub
commit 03498fd502
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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",