about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorMatthew Piziak <matthew.piziak@gmail.com>2016-08-23 11:23:42 -0400
committerMatthew Piziak <matthew.piziak@gmail.com>2016-08-30 15:45:37 -0400
commit8ca9fa11f9a04a7ffa4cded6775336d55268e7ac (patch)
treeeaa4a495edbf7cbcbd4d7f4a8c71aa44006b2a1b /src/test/run-pass/thinlto
parent43204fff5d0a656f8a94bfff3129e04bc9d30ad4 (diff)
downloadrust-8ca9fa11f9a04a7ffa4cded6775336d55268e7ac.tar.gz
rust-8ca9fa11f9a04a7ffa4cded6775336d55268e7ac.zip
add evocative examples for `BitOr` and `BitXor`
These are exactly equivalent to PR #35809, with one caveat: I do not believe there is a non-bitwise binary "xor" operator in Rust, so here it's expressed as (a || b) && !(a && b).

r? @GuillaumeGomez

improved documentation a la PR #35993
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions