Uppercase numeric constants
The following are renamed: * `min_value` => `MIN` * `max_value` => `MAX` * `bits` => `BITS` * `bytes` => `BYTES` Fixes #10010.
This commit is contained in:
parent
de57a22b9a
commit
988e4f0a1c
36 changed files with 444 additions and 444 deletions
|
|
@ -340,8 +340,8 @@ pub struct IdRange {
|
|||
impl IdRange {
|
||||
pub fn max() -> IdRange {
|
||||
IdRange {
|
||||
min: u32::max_value,
|
||||
max: u32::min_value,
|
||||
min: u32::MAX,
|
||||
max: u32::MIN,
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue