fixes #761
Annotations
1 error and 7 warnings
build
Process completed with exit code 1.
|
this expression creates a reference which is immediately dereferenced by the compiler:
theseus/src/api/profile/mod.rs#L500
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> theseus/src/api/profile/mod.rs:500:13
|
500 | &profile_path,
| ^^^^^^^^^^^^^ help: change this to: `profile_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
theseus/src/api/profile/mod.rs#L471
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> theseus/src/api/profile/mod.rs:471:13
|
471 | &profile_path,
| ^^^^^^^^^^^^^ help: change this to: `profile_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
theseus/src/api/profile/mod.rs#L431
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> theseus/src/api/profile/mod.rs:431:13
|
431 | &profile_path,
| ^^^^^^^^^^^^^ help: change this to: `profile_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
theseus/src/api/profile/mod.rs#L395
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> theseus/src/api/profile/mod.rs:395:25
|
395 | &profile_path,
| ^^^^^^^^^^^^^ help: change this to: `profile_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
theseus/src/api/profile/mod.rs#L333
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> theseus/src/api/profile/mod.rs:333:13
|
333 | &profile_path,
| ^^^^^^^^^^^^^ help: change this to: `profile_path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
|
this expression creates a reference which is immediately dereferenced by the compiler:
theseus/src/api/profile/mod.rs#L165
warning: this expression creates a reference which is immediately dereferenced by the compiler
--> theseus/src/api/profile/mod.rs:165:21
|
165 | &path,
| ^^^^^ help: change this to: `path`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrow
= note: `#[warn(clippy::needless_borrow)]` on by default
|
field `flow` is never read:
theseus/src/launcher/auth.rs#L43
warning: field `flow` is never read
--> theseus/src/launcher/auth.rs:43:5
|
39 | struct TokenJSON {
| --------- field in this struct
...
43 | flow: String,
| ^^^^
|
= note: `#[warn(dead_code)]` on by default
|