mirror of
https://github.com/actix/actix-website
synced 2025-06-29 16:24:58 +02:00
@ -38,7 +38,7 @@ complex types are involved.
|
||||
|
||||
```rust
|
||||
fn index(_req: HttpRequest) -> impl Responder {
|
||||
Bytes::from_static("Hello world!")
|
||||
Bytes::from_static(b"Hello world!")
|
||||
}
|
||||
```
|
||||
|
||||
|
Reference in New Issue
Block a user