mirror of
https://github.com/fafhrd91/actix-web
synced 2024-11-30 18:44:35 +01:00
Fix docs.rs build
This commit is contained in:
parent
4797298706
commit
1ad8ba2604
@ -1,5 +1,10 @@
|
|||||||
# Changes
|
# Changes
|
||||||
|
|
||||||
|
## [0.6.13] - 2018-06-xx
|
||||||
|
|
||||||
|
* Fix docs.rs build
|
||||||
|
|
||||||
|
|
||||||
## [0.6.12] - 2018-06-08
|
## [0.6.12] - 2018-06-08
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -11,10 +11,10 @@
|
|||||||
//!
|
//!
|
||||||
//! fn main() {
|
//! fn main() {
|
||||||
//! # thread::spawn(|| {
|
//! # thread::spawn(|| {
|
||||||
//! server::new(
|
//! server::new(|| {
|
||||||
//! || App::new()
|
//! App::new().resource("/{name}/{id}/index.html", |r| r.with(index))
|
||||||
//! .resource("/{name}/{id}/index.html", |r| r.with(index)))
|
//! }).bind("127.0.0.1:8080")
|
||||||
//! .bind("127.0.0.1:8080").unwrap()
|
//! .unwrap()
|
||||||
//! .run();
|
//! .run();
|
||||||
//! # });
|
//! # });
|
||||||
//! }
|
//! }
|
||||||
@ -77,6 +77,7 @@
|
|||||||
//!
|
//!
|
||||||
#![cfg_attr(actix_nightly, feature(
|
#![cfg_attr(actix_nightly, feature(
|
||||||
specialization, // for impl ErrorResponse for std::error::Error
|
specialization, // for impl ErrorResponse for std::error::Error
|
||||||
|
extern_prelude,
|
||||||
))]
|
))]
|
||||||
#![cfg_attr(
|
#![cfg_attr(
|
||||||
feature = "cargo-clippy",
|
feature = "cargo-clippy",
|
||||||
|
Loading…
Reference in New Issue
Block a user