aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
-rw-r--r--src/parser/input.rs2
2 files changed, 2 insertions, 8 deletions
diff --git a/.travis.yml b/.travis.yml
index b3134fd04..866d9138f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -2,15 +2,11 @@ language: rust
2 2
3matrix: 3matrix:
4 include: 4 include:
5 5 - rust: stable
6 - rust: nightly-2018-01-26
7 before_script: 6 before_script:
8 - rustup component add rustfmt-preview 7 - rustup component add rustfmt-preview
9 script: 8 script:
10 - cargo fmt -- --write-mode=diff 9 - cargo fmt --all -- --write-mode=diff
11
12 - rust: stable
13 script:
14 - cargo test 10 - cargo test
15 11
16branches: 12branches:
diff --git a/src/parser/input.rs b/src/parser/input.rs
index 4d74ac1b1..13589467b 100644
--- a/src/parser/input.rs
+++ b/src/parser/input.rs
@@ -5,9 +5,7 @@ use super::is_insignificant;
5use std::ops::{Add, AddAssign}; 5use std::ops::{Add, AddAssign};
6 6
7pub(crate) struct ParserInput<'t> { 7pub(crate) struct ParserInput<'t> {
8 #[allow(unused)]
9 text: &'t str, 8 text: &'t str,
10 #[allow(unused)]
11 start_offsets: Vec<TextUnit>, 9 start_offsets: Vec<TextUnit>,
12 tokens: Vec<Token>, // non-whitespace tokens 10 tokens: Vec<Token>, // non-whitespace tokens
13} 11}