lloydmeta / frunk

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

Adds ToMut trait. #134

Closed remexre closed 6 years ago

remexre commented 6 years ago

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

remexre commented 6 years ago

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

Centril commented 6 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 6 years ago

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

Centril commented 6 years ago

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

lloydmeta commented 6 years ago

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

remexre commented 6 years ago

Should be done.