mirror of
https://github.com/actix/actix-website
synced 2025-02-02 12:19:04 +01:00
commit
fcf28f79b8
@ -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!")
|
||||
}
|
||||
```
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user