Removed a deprecation warning
This commit is contained in:
parent
9784d7a23b
commit
fe3f2ee4b1
|
@ -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/
|
||||
|
|
|
@ -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};
|
||||
|
|
Loading…
Reference in New Issue