]> git.lizzy.rs Git - rust.git/commit
auto merge of #8440 : sfackler/rust/env-fix, r=pcwalton
authorbors <bors@rust-lang.org>
Wed, 14 Aug 2013 11:41:20 +0000 (04:41 -0700)
committerbors <bors@rust-lang.org>
Wed, 14 Aug 2013 11:41:20 +0000 (04:41 -0700)
commitac49e656111cdd1727988bbbf3d3b9be554ae391
tree34f5a3f840468e51f05827f0d228d041f0015487
parentcd656c74f67a289bb14c7758847a0fdd2e61d9a1
parentf3a79cf66722a917a59376b0ad60a0a370c48b8b
auto merge of #8440 : sfackler/rust/env-fix, r=pcwalton

The type of the result of option_env! was not fully specified in the
None case, leading to type check failures in the case where the variable
was not defined (e.g. option_env!("FOO").is_none()).

Also cleaned up some compilation warnings.