Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: simplify helloworld-tutorial #1369

Merged
merged 2 commits into from
May 31, 2024
Merged

docs: simplify helloworld-tutorial #1369

merged 2 commits into from
May 31, 2024

Commits on Apr 22, 2023

  1. docs: simplify helloworld-tutorial

    - Remove the `hello_world` crate prefix, `HelloReply` is imported directly.
    - Remove useless calls to `into()`:
    
    error: useless conversion to the same type: `std::string::String`
      --> src/main.rs:18:22
       |
    18 |             message: format!("Hello {}!", request.into_inner().name).into(),
       |                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: consider removing `.into()`: `format!("Hello {}!", request.into_inner().name)`
       |
       = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
       = note: `-D clippy::useless-conversion` implied by `-D warnings`
    punkeel committed Apr 22, 2023
    Configuration menu
    Copy the full SHA
    078c2eb View commit details
    Browse the repository at this point in the history

Commits on May 31, 2024

  1. Configuration menu
    Copy the full SHA
    74018f9 View commit details
    Browse the repository at this point in the history