fix(errors1): Add a comment to make the purpose more clear (#486)

Signed-off-by: zydxhs <johnsmithcry@163.com>
pull/925/head
zydxhs 2 years ago committed by GitHub
parent 71a06044e6
commit cbcde34540
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -36,6 +36,7 @@ mod tests {
fn explains_why_generating_nametag_text_fails() {
assert_eq!(
generate_nametag_text("".into()),
// Don't change this line
Err("`name` was empty; it must be nonempty.".into())
);
}

Loading…
Cancel
Save