1
0
mirror of https://github.com/actix/actix-website synced 2025-08-01 05:41:50 +02:00

Correct demo code

This commit is contained in:
VitalyR
2019-07-11 16:36:16 +08:00
committed by GitHub
parent 0d1a2f2e7c
commit c399dc6e52

View File

@@ -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!")
}
```