Releases: okready/visiting_ref
Releases · okready/visiting_ref
0.2.0
Added
VisitingRef::run_withandVisitingMut::run_withfunctions that wrap both creation of aVisitingReforVisitingMutand running an asynchronous closure with theVisitingReforVisitingMutas an argument.Binary,LowerExp,LowerHex,Octal,Pointer,UpperExp, andUpperHeximplementations forVisitingRefandVisitingMut.- Unit tests for all custom string formatting trait implementations.
- Example in top-level crate documentation for using the crate to work around lifetime declaration limitations in certain scenarios when using asynchronous closures as function arguments.
- Table of contents in top-level crate documentation.
Changed
- Remove
ManuallyDropwrapping fromDebugtrait output forVisitingRefandVisitingMutfor clarity and to avoid confusingVisitingRef<T>orVisitingMut<T>withVisitingRef<ManuallyDrop<T>>orVisitingMut<ManuallyDrop<T>>. - Simplify
dev-dependenciesand adjust example code in documentation comments in response.
Fixed
- Grammar in crate description.