chore(deps): update nutype requirement from 0.3.1 to 0.4.0 #30
Annotations
2 warnings
Cargo clippy:
src/lib.rs#L217
warning: accessing first element with `xbox_resp
.display_claims
.get("xui")
.ok_or(MinecraftAuthorizationError::MissingClaims)?.get(0)`
--> src/lib.rs:217:25
|
217 | let user_hash = xbox_resp
| _________________________^
218 | | .display_claims
219 | | .get("xui")
220 | | .ok_or(MinecraftAuthorizationError::MissingClaims)?
221 | | .get(0)
| |___________________^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#get_first
= note: `#[warn(clippy::get_first)]` on by default
help: try
|
217 ~ let user_hash = xbox_resp
218 + .display_claims
219 + .get("xui")
220 + .ok_or(MinecraftAuthorizationError::MissingClaims)?.first()
|
|
Cargo clippy
warning: 1 warning emitted
|
The logs for this run have expired and are no longer available.
Loading