![error: unneeded `return` statement
--> src/main.rs:45:46
|
45 | service.server.start(settings.port).await;
| ^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return
= note: `-D clippy::needless-return` implied by `-D clippy::all`
= help: to override `-D clippy::all` add `#[allow(clippy::needless_return)]`
help: remove `return`
|
45 | service.server.start(settings.port).awaitservice.server.start(settings.port).await;
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~](https://pbs.twimg.com/media/GYZ7f0VaMAgRyaM.png?name=small&format=webp)
ALT error: unneeded `return` statement --> src/main.rs:45:46 | 45 | service.server.start(settings.port).await; | ^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_return = note: `-D clippy::needless-return` implied by `-D clippy::all` = help: to override `-D clippy::all` add `#[allow(clippy::needless_return)]` help: remove `return` | 45 | service.server.start(settings.port).awaitservice.server.start(settings.port).await; | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
![error: consider adding a `;` to the last statement for consistent formatting
--> src/main.rs:45:5
|
45 | service.server.start(settings.port).await
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `service.server.start(settings.port).await;`
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned
= note: `-D clippy::semicolon-if-nothing-returned` implied by `-D clippy::pedantic`
= help: to override `-D clippy::pedantic` add `#[allow(clippy::semicolon_if_nothing_returned)]`](https://pbs.twimg.com/media/GYZ7jYcbYAAGPsr.png?name=small&format=webp)
ALT error: consider adding a `;` to the last statement for consistent formatting --> src/main.rs:45:5 | 45 | service.server.start(settings.port).await | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: add a `;` here: `service.server.start(settings.port).await;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#semicolon_if_nothing_returned = note: `-D clippy::semicolon-if-nothing-returned` implied by `-D clippy::pedantic` = help: to override `-D clippy::pedantic` add `#[allow(clippy::semicolon_if_nothing_returned)]`





