diff --git a/.travis.yml b/.travis.yml index b3134fd042..866d9138f4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,15 +2,11 @@ language: rust matrix: include: - - - rust: nightly-2018-01-26 + - rust: stable before_script: - rustup component add rustfmt-preview script: - - cargo fmt -- --write-mode=diff - - - rust: stable - script: + - cargo fmt --all -- --write-mode=diff - cargo test branches: diff --git a/src/parser/input.rs b/src/parser/input.rs index 4d74ac1b1c..13589467b4 100644 --- a/src/parser/input.rs +++ b/src/parser/input.rs @@ -5,9 +5,7 @@ use super::is_insignificant; use std::ops::{Add, AddAssign}; pub(crate) struct ParserInput<'t> { - #[allow(unused)] text: &'t str, - #[allow(unused)] start_offsets: Vec, tokens: Vec, // non-whitespace tokens }