Run clippy on all targets and all features and fix clippy warning.
This commit is contained in:
parent
8e38761ad5
commit
585d22a612
@ -4,7 +4,7 @@ before_script:
|
|||||||
- "rustup component add clippy"
|
- "rustup component add clippy"
|
||||||
script:
|
script:
|
||||||
- "cargo fmt --all -- --check"
|
- "cargo fmt --all -- --check"
|
||||||
- "cargo clippy -- -D warnings"
|
- "cargo clippy --all-targets --all-features -- -D warnings"
|
||||||
- "cargo build --verbose"
|
- "cargo build --verbose"
|
||||||
- "cargo test --verbose"
|
- "cargo test --verbose"
|
||||||
notifications:
|
notifications:
|
||||||
|
@ -66,7 +66,6 @@ fn main() {
|
|||||||
tokio::run(
|
tokio::run(
|
||||||
hello_world(homeserver_url.parse().unwrap(), room).map_err(|e| {
|
hello_world(homeserver_url.parse().unwrap(), room).map_err(|e| {
|
||||||
dbg!(e);
|
dbg!(e);
|
||||||
()
|
|
||||||
}),
|
}),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user