Implement set/unset/show for alternative and canonical aliases #430
Annotations
4 warnings
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3, actions/cache@v3, mozilla-actions/[email protected], giraffate/clippy-action@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
src/windows/room/mod.rs#L404
[clippy] reported by reviewdog 🐶
warning: useless use of `format!`
--> src/windows/room/mod.rs:404:39
|
404 | ... let msg = format!("This room has no canonical alias to unset");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"This room has no canonical alias to unset".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
Raw Output:
src/windows/room/mod.rs:404:39:w:warning: useless use of `format!`
--> src/windows/room/mod.rs:404:39
|
404 | ... let msg = format!("This room has no canonical alias to unset");
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"This room has no canonical alias to unset".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
= note: `#[warn(clippy::useless_format)]` on by default
__END__
|
src/windows/room/mod.rs#L504
[clippy] reported by reviewdog 🐶
warning: useless use of `format!`
--> src/windows/room/mod.rs:504:25
|
504 | format!("Cannot currently show value for a tag")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Cannot currently show value for a tag".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
Raw Output:
src/windows/room/mod.rs:504:25:w:warning: useless use of `format!`
--> src/windows/room/mod.rs:504:25
|
504 | format!("Cannot currently show value for a tag")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Cannot currently show value for a tag".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
__END__
|
src/windows/room/mod.rs#L507
[clippy] reported by reviewdog 🐶
warning: useless use of `format!`
--> src/windows/room/mod.rs:507:25
|
507 | format!("Cannot show a single alias; use `:room aliases show` instead.")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Cannot show a single alias; use `:room aliases show` instead.".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
Raw Output:
src/windows/room/mod.rs:507:25:w:warning: useless use of `format!`
--> src/windows/room/mod.rs:507:25
|
507 | format!("Cannot show a single alias; use `:room aliases show` instead.")
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider using `.to_string()`: `"Cannot show a single alias; use `:room aliases show` instead.".to_string()`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_format
__END__
|
The logs for this run have expired and are no longer available.
Loading