lloydmeta / frunk

Funktional generic type-level programming in Rust: HList, Coproduct, Generic, LabelledGeneric, Validated, Monoid and friends.
https://beachape.com/frunk/
MIT License
1.28k stars 58 forks source link

Adds ToMut trait. #134

Closed remexre closed 5 years ago

remexre commented 5 years ago

Basically the same as ToRef, except with &mut instead of &.

remexre commented 5 years ago

The style's largely a result of copy-pasting the equivalent ToRef parts; should I change those too?

Centril commented 5 years ago

@remexre I think we can do that as a follow up rustfmt-only PR for cleaner diffs or as part of the release procedure.

remexre commented 5 years ago

Looks like it's stalling out on nightly on Travis; works on my machine (on nightly) though.

Centril commented 5 years ago

@lloydmeta Feels generally easiest to keep track of things if each PR adds to Unreleased.

lloydmeta commented 5 years ago

@remexre would you mind adding a quick summary of this change to the Changelog?

remexre commented 5 years ago

Should be done.