diff --git a/.travis.yml b/.travis.yml index f26f51c3..a713be05 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,7 +7,10 @@ before_script: - export PATH=$HOME/.cargo/bin:$PATH script: - - cargo test --all --all-features + - cargo build --features="iron" + - cargo build --features="rocket" + - cargo build --features="actix-web" + - cargo test --all - | if command -v cargo-clippy > /dev/null; then CLIPPY_STATUS=0 diff --git a/maud/src/lib.rs b/maud/src/lib.rs index 8dc7410d..1e7dcf79 100644 --- a/maud/src/lib.rs +++ b/maud/src/lib.rs @@ -199,7 +199,7 @@ mod actix_support { impl Responder for PreEscaped { type Item = HttpResponse; type Error = Error; - fn respond_to(self, _req: &HttpRequest) -> Result { + fn respond_to(self, _req: &HttpRequest) -> Result { Ok(HttpResponse::Ok().body(self.0)) } }