Use MAX instead of deprecated max_value()
continuous-integration/drone the build is running
Details
continuous-integration/drone the build is running
Details
This commit is contained in:
parent
680c8669d6
commit
2a32184a7e
|
@ -262,7 +262,7 @@ impl Responder {
|
||||||
.continuation_tokens
|
.continuation_tokens
|
||||||
.lock()
|
.lock()
|
||||||
.or(Err(anyhow!("Mutex poisoned")))?;
|
.or(Err(anyhow!("Mutex poisoned")))?;
|
||||||
let batch_token = (0u16..u16::max_value())
|
let batch_token = (0u16..u16::MAX)
|
||||||
.into_iter()
|
.into_iter()
|
||||||
.find(|id| !map.contains_key(&id))
|
.find(|id| !map.contains_key(&id))
|
||||||
.expect("No ID found");
|
.expect("No ID found");
|
||||||
|
|
Loading…
Reference in New Issue