]> git.lizzy.rs Git - rust.git/commit
Adds language to the documentation for `Option` and `Result` suggesting
authorJonathan Strong <jstrong@legis.io>
Thu, 7 Dec 2017 01:30:57 +0000 (20:30 -0500)
committerJonathan Strong <jstrong@legis.io>
Thu, 7 Dec 2017 01:30:57 +0000 (20:30 -0500)
commit9307917d6abc115faf7d2cb625c550cb509b5c4d
tree6ef393abc08b8eb501e71114ac41871f5c8a2732
parent9f3b09116b742b2606dc5f36f9145e0c89e4010b
Adds language to the documentation for `Option` and `Result` suggesting
the use of lazily evaluated alternatives when appropriate. These
comments are intended to echo a clippy lint on the same topic (see
https://rust-lang-nursery.github.io/rust-clippy/master/index.html#or_fun_call)
src/libcore/option.rs
src/libcore/result.rs