Rollup merge of #51227 - uuttff8:master, r=dtolnay
mod.rs isn't beautiful I hate this spaces.
This commit is contained in:
commit
33ad846740
1 changed files with 4 additions and 4 deletions
|
@ -60,10 +60,10 @@ use fmt::{self, Write};
|
||||||
use iter::FusedIterator;
|
use iter::FusedIterator;
|
||||||
|
|
||||||
// UTF-8 ranges and tags for encoding characters
|
// UTF-8 ranges and tags for encoding characters
|
||||||
const TAG_CONT: u8 = 0b1000_0000;
|
const TAG_CONT: u8 = 0b1000_0000;
|
||||||
const TAG_TWO_B: u8 = 0b1100_0000;
|
const TAG_TWO_B: u8 = 0b1100_0000;
|
||||||
const TAG_THREE_B: u8 = 0b1110_0000;
|
const TAG_THREE_B: u8 = 0b1110_0000;
|
||||||
const TAG_FOUR_B: u8 = 0b1111_0000;
|
const TAG_FOUR_B: u8 = 0b1111_0000;
|
||||||
const MAX_ONE_B: u32 = 0x80;
|
const MAX_ONE_B: u32 = 0x80;
|
||||||
const MAX_TWO_B: u32 = 0x800;
|
const MAX_TWO_B: u32 = 0x800;
|
||||||
const MAX_THREE_B: u32 = 0x10000;
|
const MAX_THREE_B: u32 = 0x10000;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue