Removed a deprecation warning

This commit is contained in:
Michael Bryan 2018-04-07 06:27:58 +08:00
parent 9784d7a23b
commit fe3f2ee4b1
No known key found for this signature in database
GPG Key ID: E9C602B0D9A998DC
2 changed files with 9 additions and 1 deletions

View File

@ -6,6 +6,15 @@ main() {
local src=$(pwd) \
stage=
case $TRAVIS_OS_NAME in
linux)
stage=$(mktemp -d)
;;
osx)
stage=$(mktemp -d -t tmp)
;;
esac
cargo rustc --bin mdbook --target $TARGET --release -- -C lto
cp target/release/mdbook $stage/

View File

@ -6,7 +6,6 @@ use renderer::html_handlebars::helpers;
use theme::{self, Theme, playpen_editor};
use utils;
#[allow(unused_imports)] use std::ascii::AsciiExt;
use std::collections::BTreeMap;
use std::collections::HashMap;
use std::fs::{self, File};