about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2016-08-30 10:39:06 +0200
committerGitHub <noreply@github.com>2016-08-30 10:39:06 +0200
commit0c33197b909999321fb273da6e12bc0a7bd763e9 (patch)
tree5d28b6fd107f42c9a29e01ca466a96f7f353e2ea /src/test/incremental/thinlto
parent67949a3a011273fe9389b8a42411603bec3654ca (diff)
parente2d9974b3b9a1021894c532b293e7624eaeb1e1c (diff)
downloadrust-0c33197b909999321fb273da6e12bc0a7bd763e9.tar.gz
rust-0c33197b909999321fb273da6e12bc0a7bd763e9.zip
Rollup merge of #35993 - matthew-piziak:bitwise-and-redux, r=GuillaumeGomez
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.
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions