1
0
mirror of https://github.com/actix/actix-website synced 2025-02-17 10:13:31 +01:00

Merge pull request #3 from IslandUsurper/patch-1

Make Getting Started example compile
This commit is contained in:
Nikolay Kim 2018-05-23 10:34:01 -07:00 committed by GitHub
commit 3cf6586f18
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -34,9 +34,9 @@ Filename: `src/main.rs`
```rust ```rust
extern crate actix_web; extern crate actix_web;
use actix_web::{HttpRequest, Responder, App, server}; use actix_web::{HttpRequest, App, server};
fn index(req: _HttpRequest) -> Responder { fn index(_req: HttpRequest) -> &'static str {
"Hello world!" "Hello world!"
} }
``` ```