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

Merge promotable implementations #489

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Commits on Mar 2, 2021

  1. Merge promotable implementations

    Replace copy-paste `promotable_even_clone`/`protomotable_odd_clone`
    and `promotable_even_drop`/`protomotable_odd_drop` into `promotable_clone`
    and `protomotable_drop` functions parameterized by `ProtomotableEvenness`.
    
    Diffstat is:
    
    ```
     src/bytes.rs | 71 ++++++++++++++++++++++++++++++++++++-----------------------------------
     1 file changed, 36 insertions(+), 35 deletions(-)
    ```
    
    but it should be easier to understand this way.
    stepancheg committed Mar 2, 2021
    Configuration menu
    Copy the full SHA
    87384f8 View commit details
    Browse the repository at this point in the history