Skip to content

Commit

Permalink
fix 1.20 build & travis coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
elinorbgr committed Feb 26, 2018
1 parent 99d1cb8 commit bd5a6a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@ cache: cargo

dist: trusty

sudo: required

addons:
apt:
sources:
Expand Down
3 changes: 3 additions & 0 deletions wayland-scanner/src/util.rs
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
#[allow(unused_imports)]
use std::ascii::AsciiExt;

pub fn is_keyword(txt: &str) -> bool {
match txt {
"abstract" | "alignof" | "as" | "become" | "box" | "break" | "const" | "continue" | "crate"
Expand Down

0 comments on commit bd5a6a2

Please sign in to comment.