From f17c00795f9b1fc1a7e0c636478e13d66fda737c Mon Sep 17 00:00:00 2001 From: SoniEx2 Date: Fri, 17 Sep 2021 16:17:28 -0300 Subject: Tweak MayBe to better align with Datafu This is a breaking change, but aligning with Datafu is useful. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'README.md') 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`, an `Option`-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`, 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()`. -- cgit 1.4.1