about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-02-20 00:00:53 +0000
committerbors <bors@rust-lang.org>2017-02-20 00:00:53 +0000
commitf57a027f7153c0764a2b8bb5a68ee879e47cd255 (patch)
treeb215fb39c05179bf9e2bc3630a369256955223c6 /src/test/run-pass/thinlto
parent0e77277950aafd38ce3e52b7b1cd9bcc6664de3c (diff)
parenteee6752b971d620c2db89a3fa551d5739b29148e (diff)
downloadrust-f57a027f7153c0764a2b8bb5a68ee879e47cd255.tar.gz
rust-f57a027f7153c0764a2b8bb5a68ee879e47cd255.zip
Auto merge of #39955 - mp4096:master, r=GuillaumeGomez
Docs: Better explanation of return values for min, max functions for the Iterator trait

Added an explanation that `None` is returned if an iterator is empty.

Also added examples for `max` and `min`. I chose not to add examples for other functions like `max_by_key` etc. so that the examples stay concised and focused on the main functionality.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions