1
0
mirror of https://github.com/actix/actix-website synced 2025-06-29 08:14:58 +02: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

View File

@ -34,9 +34,9 @@ Filename: `src/main.rs`
```rust
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!"
}
```