Skip to content

Commit

Permalink
structuralize merge feature
Browse files Browse the repository at this point in the history
  • Loading branch information
yanganto committed Aug 18, 2024
1 parent 59f4ccb commit fcd962c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ The [examples][examples] demo following scenarios.
## Features
This crate also includes the following optional features:
- `status`(default): implements the `PatchStatus` trait for the patch struct, which provides the `is_empty` method.
- `op` (default): provide operators `<<` for instance and patch, and `+` for patches
- `merge` (optional): implements the `Merge` trait for the patch struct, which provides the `merge` method.
- `op` (default): provide operators `<<` between instance and patch, and `+` for patches
- `merge` (optional): implements the `Merge` trait for the patch struct, which provides the `merge` method, and `<<` between patches.
- `std`(optional):
- `box`: implements the `Patch<Box<P>>` trait for `T` where `T` implements `Patch<P>`.
This let you patch a boxed (or not) struct with a boxed patch.
Expand Down

0 comments on commit fcd962c

Please sign in to comment.