Follow rust: Suffix us
is replaced by usize
This commit is contained in:
parent
61c38127af
commit
0388c69228
@ -1351,28 +1351,28 @@ mod tests {
|
||||
false => vec![Token::Bool(false)],
|
||||
}
|
||||
test_isize {
|
||||
0is => vec![Token::Isize(0)],
|
||||
0is => vec![Token::I8(0)],
|
||||
0is => vec![Token::I16(0)],
|
||||
0is => vec![Token::I32(0)],
|
||||
0is => vec![Token::I64(0)],
|
||||
0is => vec![Token::Usize(0)],
|
||||
0is => vec![Token::U8(0)],
|
||||
0is => vec![Token::U16(0)],
|
||||
0is => vec![Token::U32(0)],
|
||||
0is => vec![Token::U64(0)],
|
||||
0is => vec![Token::F32(0.)],
|
||||
0is => vec![Token::F64(0.)],
|
||||
0isize => vec![Token::Isize(0)],
|
||||
0isize => vec![Token::I8(0)],
|
||||
0isize => vec![Token::I16(0)],
|
||||
0isize => vec![Token::I32(0)],
|
||||
0isize => vec![Token::I64(0)],
|
||||
0isize => vec![Token::Usize(0)],
|
||||
0isize => vec![Token::U8(0)],
|
||||
0isize => vec![Token::U16(0)],
|
||||
0isize => vec![Token::U32(0)],
|
||||
0isize => vec![Token::U64(0)],
|
||||
0isize => vec![Token::F32(0.)],
|
||||
0isize => vec![Token::F64(0.)],
|
||||
}
|
||||
test_ints {
|
||||
0is => vec![Token::Isize(0)],
|
||||
0isize => vec![Token::Isize(0)],
|
||||
0i8 => vec![Token::I8(0)],
|
||||
0i16 => vec![Token::I16(0)],
|
||||
0i32 => vec![Token::I32(0)],
|
||||
0i64 => vec![Token::I64(0)],
|
||||
}
|
||||
test_uints {
|
||||
0us => vec![Token::Usize(0)],
|
||||
0usize => vec![Token::Usize(0)],
|
||||
0u8 => vec![Token::U8(0)],
|
||||
0u16 => vec![Token::U16(0)],
|
||||
0u32 => vec![Token::U32(0)],
|
||||
|
Loading…
x
Reference in New Issue
Block a user