mirror of
https://github.com/actix/actix-website
synced 2025-02-02 04:09:06 +01:00
Fix example
This commit is contained in:
parent
11d41fab8e
commit
5eb00bb9f3
@ -1,9 +1,6 @@
|
|||||||
#![allow(unused)]
|
#![allow(unused)]
|
||||||
extern crate actix_web;
|
|
||||||
use actix_web::{http::Method, server, App, HttpRequest, HttpResponse, Responder};
|
use actix_web::{http::Method, server, App, HttpRequest, HttpResponse, Responder};
|
||||||
|
|
||||||
mod state;
|
|
||||||
|
|
||||||
// <vh>
|
// <vh>
|
||||||
fn main() {
|
fn main() {
|
||||||
let server = server::new(|| {
|
let server = server::new(|| {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user