chore(deps): update reqwest requirement from 0.11.22 to 0.12.0 #33
Annotations
3 warnings
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: FrancisRussell/ferrous-actions@v0.1.0-beta.2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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
|
Loading