mirror of
https://github.com/actix/actix-website
synced 2025-06-27 07:29:02 +02:00
Clippy fixes.
This commit is contained in:
@ -14,7 +14,7 @@ fn index(_req: HttpRequest) -> RegisterResult {
|
||||
// <- variant B
|
||||
Box::new(ok(HttpResponse::Ok()
|
||||
.content_type("text/html")
|
||||
.body(format!("Hello!")))),
|
||||
.body("Hello!".to_string()))),
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user