diff options
| author | Matthew Piziak <matthew.piziak@gmail.com> | 2016-08-25 15:29:19 -0400 |
|---|---|---|
| committer | Matthew Piziak <matthew.piziak@gmail.com> | 2016-08-26 13:02:25 -0400 |
| commit | e2d9974b3b9a1021894c532b293e7624eaeb1e1c (patch) | |
| tree | c655ce5deed749754499c6cbd490d34d0417929a /src/test/incremental/thinlto | |
| parent | eaf71f8d1034f16140791f566cab3f3c9a0bf96a (diff) | |
| download | rust-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
