Merge pull request #4596 from orf/patch-2

Fix typo in clap-derive error message
This commit is contained in:
Ed Page 2023-01-02 07:18:14 -06:00 committed by GitHub
commit 2ce5f46f5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -70,7 +70,7 @@ impl ClapAttr {
AttrValue::Expr(_) | AttrValue::Call(_) => { AttrValue::Expr(_) | AttrValue::Call(_) => {
abort!( abort!(
self.name, self.name,
"attribute `{}` can only accept string litersl", "attribute `{}` can only accept string literals",
self.name self.name
) )
} }