]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #42091 - maccoda:maccoda/env_docs, r=frewsxcv
authorMark Simulacrum <mark.simulacrum@gmail.com>
Sat, 20 May 2017 23:48:13 +0000 (17:48 -0600)
committerGitHub <noreply@github.com>
Sat, 20 May 2017 23:48:13 +0000 (17:48 -0600)
commit9ce461696077802cf682eda52e2823052e0f620f
tree4cd177346abe11094d953b79fb6841f3ae7ad379
parent29456429013b225214151cb96355051b07f451d4
parent55d75c42ef95f39c4c6f762bd22df33b94864153
Rollup merge of #42091 - maccoda:maccoda/env_docs, r=frewsxcv

Improving std::env docs

Addresses #29351.
Hopefully this addresses the following points:
> -  iterators should use the standard iterator boilerplate like https://doc.rust-lang.org/std/iter/struct.Map.html, this applies to all structs except for JoinPathsError
> -  JoinPathsError should properly link the function it comes from and use language similar to https://doc.rust-lang.org/std/io/struct.Error.html
> -  same wording issues with VarError
> - functions need to ensure linkage to things they refer to in their descriptions
> - Explain the difference between `os` and non-`os` structs and methods
src/libstd/env.rs