Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve BitAnd trait documentation #35993

Merged
merged 1 commit into from
Aug 30, 2016

Commits on Aug 26, 2016

  1. improve BitAnd trait documentation

    This pull request is based on the discussion in PR rust-lang#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
    matthew-piziak committed Aug 26, 2016
    Configuration menu
    Copy the full SHA
    e2d9974 View commit details
    Browse the repository at this point in the history