mirror of
https://github.com/actix/actix-website
synced 2024-11-27 18:12:57 +01:00
Merge pull request #3 from IslandUsurper/patch-1
Make Getting Started example compile
This commit is contained in:
commit
3cf6586f18
@ -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!"
|
||||
}
|
||||
```
|
||||
|
Loading…
Reference in New Issue
Block a user