mirror of
https://github.com/rwf2/Rocket.git
synced 2025-02-20 15:42:02 +00:00
parent
55b651bd70
commit
de1cffba46
@ -81,7 +81,7 @@ use rocket::http::RawStr;
|
||||
|
||||
#[get("/hello/<name>")]
|
||||
fn hello(name: &RawStr) -> String {
|
||||
format!("Hello, {}!", name.as_str())
|
||||
format!("Hello, {}!", name)
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user