]> git.lizzy.rs Git - rust.git/commit
Rollup merge of #26349 - petrochenkov:bitwise, r=steveklabnik
authorManish Goregaokar <manishsmail@gmail.com>
Thu, 18 Jun 2015 08:08:10 +0000 (13:38 +0530)
committerManish Goregaokar <manishsmail@gmail.com>
Thu, 18 Jun 2015 08:08:10 +0000 (13:38 +0530)
commit3afc385ae1e25b3747980a1d2652a1fd8c282359
tree388cce12b390dc3eda6d886ba636fffc1c058af3
parentb5f2b098d7747863b1e647e024777e4baa4907a9
parenta8f666f1f4980a9bbc5b1c94db7eb401dbe47070
Rollup merge of #26349 - petrochenkov:bitwise, r=steveklabnik

I'm surprised that bitwise operators `&`, `|` and `^` are implemented for `bool` arguments, because inspection of boolean's bits is not something that should be encouraged and because `&&` -> `&` is a common typo, but if they are implemented, then their behavior should be documented.
src/doc/reference.md