migrate codebase to ..=
inclusive range patterns
These were stabilized in March 2018's #47813, and are the Preferred Way to Do It going forward (q.v. #51043).
This commit is contained in:
parent
764232cb2a
commit
057715557b
65 changed files with 217 additions and 218 deletions
|
@ -818,8 +818,8 @@ impl Encodable for FileMap {
|
|||
};
|
||||
|
||||
let bytes_per_diff: u8 = match max_line_length {
|
||||
0 ... 0xFF => 1,
|
||||
0x100 ... 0xFFFF => 2,
|
||||
0 ..= 0xFF => 1,
|
||||
0x100 ..= 0xFFFF => 2,
|
||||
_ => 4
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue