Skip to content
This repository was archived by the owner on Mar 1, 2019. It is now read-only.

Commit 621b999

Browse files
authored
Merge pull request #7 from alexcrichton/update
Add compatibility with env_logger 0.5
2 parents a2919f5 + c563ac9 commit 621b999

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ use std::path::PathBuf;
2222
use std::process;
2323

2424
pub fn run() {
25-
env_logger::init().unwrap();
25+
drop(env_logger::init());
2626
let result = rustc_driver::run(|| {
2727
let args = env::args_os().enumerate()
2828
.map(|(i, arg)| arg.into_string().unwrap_or_else(|arg| {

0 commit comments

Comments
 (0)