diff options
author | SoniEx2 <endermoneymod@gmail.com> | 2021-09-17 16:17:28 -0300 |
---|---|---|
committer | SoniEx2 <endermoneymod@gmail.com> | 2021-09-17 16:17:28 -0300 |
commit | f17c00795f9b1fc1a7e0c636478e13d66fda737c (patch) | |
tree | 1bdd38fa760c0da944ef2fe8964de782ed7f7267 /README.md | |
parent | 134727652dc3a65bc5cf6a4d3cfb1c24fd023d5e (diff) |
Tweak MayBe to better align with Datafu
This is a breaking change, but aligning with Datafu is useful.
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md index 2a0dd34..9bb0377 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Soni's Serde Utilities This crate provides some utilities for use with serde. -Currently, it provides `MayBe<T>`, an `Option<T>`-like that doesn't error if -something is present but doesn't match a `T`. For example, it enables the JSON: +Currently, it provides `MayBe<T>`, a deserializable that doesn't error if +something doesn't match a `T`. For example, it enables the JSON: ```json { @@ -21,4 +21,4 @@ struct Foo { } ``` -as a `foo.bar.is_none()`. +as a `foo.bar.is_not()`. |