[beta] [RU] Translation improvements, DiscordRPC new AR 'New Year & X… #33
Annotations
7 warnings
function `refresh_credentials` is never used:
theseus/src/launcher/auth.rs#L46
warning: function `refresh_credentials` is never used
--> theseus/src/launcher/auth.rs:46:14
|
46 | pub async fn refresh_credentials(
| ^^^^^^^^^^^^^^^^^^^
|
= note: `#[warn(dead_code)]` on by default
|
unused import: `std::io::Read`:
theseus/src/state/discord.rs#L1
warning: unused import: `std::io::Read`
--> theseus/src/state/discord.rs:1:5
|
1 | use std::io::Read;
| ^^^^^^^^^^^^^
|
variable does not need to be mutable:
theseus/src/api/auth.rs#L41
warning: variable does not need to be mutable
--> theseus/src/api/auth.rs:41:9
|
41 | let mut users = state.users.write().await;
| ----^^^^^
| |
| help: remove this `mut`
|
variable does not need to be mutable:
theseus/src/state/discord.rs#L135
warning: variable does not need to be mutable
--> theseus/src/state/discord.rs:135:13
|
135 | let mut launcher = read_package_json()?;
| ----^^^^^^^^
| |
| help: remove this `mut`
|
= note: `#[warn(unused_mut)]` on by default
|
braces around Deserialize is unnecessary:
theseus/src/api/hydra/complete.rs#L3
warning: braces around Deserialize is unnecessary
--> theseus/src/api/hydra/complete.rs:3:1
|
3 | use serde::{Deserialize};
| ^^^^^^^^^^^^^^^^^^^^^^^^^
|
note: the lint level is defined here
--> theseus/src/lib.rs:7:9
|
7 | #![warn(unused_import_braces)]
| ^^^^^^^^^^^^^^^^^^^^
|
unused import: `self`:
theseus/src/api/auth.rs#L3
warning: unused import: `self`
--> theseus/src/api/auth.rs:3:13
|
3 | hydra::{self, init::DeviceLoginSuccess},
| ^^^^
|
= note: `#[warn(unused_imports)]` on by default
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/cargo@v1, actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|