Ruin0x11 / oxidoc

A command line interface to Rust documentation
102 stars 15 forks source link

Compilation fails #10

Closed orhanbalci closed 6 years ago

orhanbalci commented 7 years ago

Hi. I'm trying to compile latest version of your project but it fails with

error[E0433]: failed to resolve. Use of undeclared type or module `env`
   --> src/main.rs:123:24
    |
123 |     if let Ok(pager) = env::var("PAGER") {
    |                        ^^^ Use of undeclared type or module `env`

on toolchain

active toolchain
----------------

nightly-x86_64-unknown-linux-gnu (default)
rustc 1.23.0-nightly (45caff88d 2017-11-11)
Ruin0x11 commented 6 years ago

Sorry about the delay, merged the fix.