Skip to content

Add restricted blanket impls for Clone and Debug. Use associated functions.#1

Open
shanecelis wants to merge 5 commits intoHoidigan:mainfrom
shanecelis:main
Open

Add restricted blanket impls for Clone and Debug. Use associated functions.#1
shanecelis wants to merge 5 commits intoHoidigan:mainfrom
shanecelis:main

Conversation

@shanecelis
Copy link

Thank you for this package. I had been pondering what a solution for change detection might look like in rust, and I was kind of blown away by how concisely it was captured by your package. I posted about it. In using it, I made some changes.

I added some restricted blanket impls for Clone and Debug along with a doc and test. Rust recommends not having any inherent methods for smart pointers, so I followed their recommendation and converted them to associated functions.

I changed mutate_silently to silent_mut. It seemed more in line with rust's naming conventions.

I bumped the minor version number. It's actually a breaking change and should technically require a major version number bump but often for young packages it seems too early to bump the major one.

@shanecelis
Copy link
Author

Bump.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant