about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorNick Whitney <ubersentinel@gmail.com>2017-06-06 01:31:46 -0400
committerNick Whitney <ubersentinel@gmail.com>2017-06-06 22:42:48 -0400
commit2cadc32b66e135eeb9ac22d433cd931b021792a5 (patch)
treebfccae0612ff6fe569a77fdf6976358d690b3f7d /src/test/run-pass/thinlto
parent76242aebb9d47558124c991a6faf0eb706d35703 (diff)
downloadrust-2cadc32b66e135eeb9ac22d433cd931b021792a5.tar.gz
rust-2cadc32b66e135eeb9ac22d433cd931b021792a5.zip
Add max and min default fns to Ord trait
Pursuant to issue #25663, this commit adds the max and min functions to the Ord trait, enabling items that implement Ord to use UFCS (ex. 1.max(2)) instead of the longer std::cmp::max(1,2) format.
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions