Skip to content

Commit

Permalink
typo in error message
Browse files Browse the repository at this point in the history
  • Loading branch information
softprops committed Apr 14, 2019
1 parent a599138 commit 31f0427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion recap-derive/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ pub fn derive_recap(item: TokenStream) -> TokenStream {
let item = parse_macro_input!(item as DeriveInput);
let regex = extract_regex(&item).expect(
r#"Unable to resolve recap regex.
Make sure your structure has declared a attribute in the form:
Make sure your structure has declared an attribute in the form:
#[derive(Deserialize, Recap)]
#[recap(regex ="your-pattern-here")]
struct YourStruct { ... }
Expand Down

0 comments on commit 31f0427

Please sign in to comment.