We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 019ea50 commit dbacf5bCopy full SHA for dbacf5b
README.md
@@ -14,7 +14,7 @@ use non_empty_string::NonEmptyString;
14
let s = "A string with a length".to_owned();
15
assert!(NonEmptyString::new(s).is_ok());
16
17
-// But constructing it from a non-zero-length String results in an `Err`, where we get the `String` back that we passed in.
+// But constructing it from a zero-length String results in an `Err`, where we get the `String` back that we passed in.
18
let empty = "".to_owned();
19
let result = NonEmptyString::new(empty);
20
assert!(result.is_err());
0 commit comments