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 42b548c commit dc6b5cbCopy full SHA for dc6b5cb
src/tools/jsondocck/src/main.rs
@@ -73,7 +73,10 @@ impl CommandKind {
73
74
if let CommandKind::Count = self {
75
if args[2].parse::<usize>().is_err() {
76
- print_err(&format!("Third argument to @count must be a valid usize"), lineno);
+ print_err(
77
+ &format!("Third argument to @count must be a valid usize (got `{}`)", args[2]),
78
+ lineno,
79
+ );
80
return false;
81
}
82
0 commit comments