use rust language edition 2018 (introduced in 1.31)

This commit is contained in:
Дамјан Георгиевски 2018-12-06 20:08:26 +01:00
parent 595ebed94d
commit 09cba55dc8
2 changed files with 2 additions and 1 deletions

View file

@ -5,6 +5,7 @@ authors = ["Damjan Georgievski <gdamjan@gmail.com>"]
license = "MIT"
readme = "README.md"
homepage = "https://github.com/gdamjan/http-server-rs"
edition = "2018"
[dependencies]
actix-web = "0.7"

View file

@ -4,7 +4,7 @@ use futures::Stream;
use percent_encoding::{utf8_percent_encode, DEFAULT_ENCODE_SET};
use htmlescape::encode_minimal as escape_html_entity;
use channel;
use crate::channel;
use std::fmt::Write;
use std::path::PathBuf;