about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMatthew Piziak <matthew.piziak@gmail.com>2016-08-25 15:29:19 -0400
committerMatthew Piziak <matthew.piziak@gmail.com>2016-08-26 13:02:25 -0400
commite2d9974b3b9a1021894c532b293e7624eaeb1e1c (patch)
treec655ce5deed749754499c6cbd490d34d0417929a /src/test/incremental/thinlto
parenteaf71f8d1034f16140791f566cab3f3c9a0bf96a (diff)
downloadrust-e2d9974b3b9a1021894c532b293e7624eaeb1e1c.tar.gz
rust-e2d9974b3b9a1021894c532b293e7624eaeb1e1c.zip
improve `BitAnd` trait documentation
This pull request is based on the discussion in PR #35927.

Add a module-level note that `&&` and `||` are short-circuiting operators and not overloadable.

Add a simple `Scalar` example that lifts the `&` operator to a trivial struct tuple.

Make `BooleanVector` a struct tuple.

Derive `PartialEq` for `BooleanVector` instead of implementing it.

Adds a `fn main` wrapper so that the example can integrate with Rust Playground.

simplified bitand expression

add a comment explaining what "rhs" means
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions