Remove Ty prefix from Ty{Bool|Char|Int|Uint|Float|Str}
This commit is contained in:
parent
04fa5d3adb
commit
8a5dccde2a
64 changed files with 546 additions and 546 deletions
|
|
@ -32,22 +32,22 @@ pub mod testtypes {
|
|||
]
|
||||
}
|
||||
|
||||
// Tests TyBool
|
||||
// Tests Bool
|
||||
pub type FooBool = bool;
|
||||
|
||||
// Tests TyChar
|
||||
// Tests Char
|
||||
pub type FooChar = char;
|
||||
|
||||
// Tests TyInt (does not test all variants of IntTy)
|
||||
// Tests Int (does not test all variants of IntTy)
|
||||
pub type FooInt = isize;
|
||||
|
||||
// Tests TyUint (does not test all variants of UintTy)
|
||||
// Tests Uint (does not test all variants of UintTy)
|
||||
pub type FooUint = usize;
|
||||
|
||||
// Tests TyFloat (does not test all variants of FloatTy)
|
||||
// Tests Float (does not test all variants of FloatTy)
|
||||
pub type FooFloat = f64;
|
||||
|
||||
// Tests TyStr
|
||||
// Tests Str
|
||||
pub type FooStr = str;
|
||||
|
||||
// Tests Array
|
||||
|
|
|
|||
|
|
@ -11,9 +11,9 @@
|
|||
// Original Levenshtein distance for both of this is 1. We improved accuracy with
|
||||
// additional case insensitive comparison.
|
||||
|
||||
struct TyUint {}
|
||||
struct Uint {}
|
||||
|
||||
struct TyInt {}
|
||||
struct Int {}
|
||||
|
||||
fn main() {
|
||||
TyUInt {};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue