]> git.lizzy.rs Git - rust.git/commitdiff
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)
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.

1  2 
src/doc/reference.md

Simple merge