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