Rollup merge of #26349 - petrochenkov:bitwise, r=steveklabnik
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.

jashank/rust,jroesch/rust,reem/rust,zubron/rust,pelmers/rust,jashank/rust,vhbit/rust,l0kod/rust,pshc/rust,KokaKiwi/rust,mvdnes/rust,jashank/rust,nwin/rust,jroesch/rust,jashank/rust,dwillmer/rust,nwin/rust,l0kod/rust,vhbit/rust,vhbit/rust,mvdnes/rust,nwin/rust,mvdnes/rust,dwillmer/rust,GBGamer/rust,omasanori/rust,zubron/rust,nwin/rust,graydon/rust,pelmers/rust,pelmers/rust,omasanori/rust,aidancully/rust,zubron/rust,omasanori/rust,zubron/rust,KokaKiwi/rust,GBGamer/rust,robertg/rust,graydon/rust,reem/rust,reem/rust,l0kod/rust,graydon/rust,vhbit/rust,pshc/rust,aidancully/rust,pelmers/rust,jroesch/rust,graydon/rust,pelmers/rust,GBGamer/rust,pelmers/rust,jashank/rust,KokaKiwi/rust,reem/rust,l0kod/rust,KokaKiwi/rust,aidancully/rust,pshc/rust,dwillmer/rust,pshc/rust,l0kod/rust,aidancully/rust,dwillmer/rust,nwin/rust,nwin/rust,zubron/rust,zubron/rust,mvdnes/rust,reem/rust,vhbit/rust,dwillmer/rust,pshc/rust,pshc/rust,reem/rust,l0kod/rust,dwillmer/rust,pshc/rust,jashank/rust,mvdnes/rust,GBGamer/rust,robertg/rust,pshc/rust,l0kod/rust,vhbit/rust,omasanori/rust,jashank/rust,zubron/rust,vhbit/rust,KokaKiwi/rust,dwillmer/rust,graydon/rust,robertg/rust,aidancully/rust,GBGamer/rust,GBGamer/rust,GBGamer/rust,zubron/rust,nwin/rust,jroesch/rust,dwillmer/rust,jashank/rust,graydon/rust,mvdnes/rust,jroesch/rust,vhbit/rust,GBGamer/rust,jroesch/rust,nwin/rust,KokaKiwi/rust,robertg/rust,jroesch/rust,robertg/rust,jroesch/rust,omasanori/rust,omasanori/rust,robertg/rust,l0kod/rust,aidancully/rust