mirror of
https://github.com/notohh/rustlings.git
synced 2024-11-22 05:52:23 -05:00
fix(errors1): Add a comment to make the purpose more clear (#486)
Signed-off-by: zydxhs <johnsmithcry@163.com>
This commit is contained in:
parent
71a06044e6
commit
cbcde34540
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue