From 1b320874188df2d72b829fd16cdb682895afbe0f Mon Sep 17 00:00:00 2001 From: Tom Forbes Date: Mon, 2 Jan 2023 01:39:14 +0000 Subject: [PATCH] Fix typo in clap-derive error message I assume "litersl" should be "literals"? --- clap_derive/src/attr.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clap_derive/src/attr.rs b/clap_derive/src/attr.rs index 5ea49a1d..e282a8f9 100644 --- a/clap_derive/src/attr.rs +++ b/clap_derive/src/attr.rs @@ -70,7 +70,7 @@ impl ClapAttr { AttrValue::Expr(_) | AttrValue::Call(_) => { abort!( self.name, - "attribute `{}` can only accept string litersl", + "attribute `{}` can only accept string literals", self.name ) }