Skip to content

Commit 4a07678

Browse files
committed
Fix error message punctuation
1 parent c686ba5 commit 4a07678

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rclrs_proc_macros/src/impl.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ pub(crate) fn derive_struct_parameters(input: DeriveInput) -> syn::Result<TokenS
1010
_ => {
1111
return syn::Result::Err(syn::Error::new_spanned(
1212
ident,
13-
"StrucutredParameter trait can only be derived for structs",
13+
"StructuredParameters trait can only be derived for structs",
1414
));
1515
}
1616
};
@@ -62,7 +62,7 @@ pub(crate) fn derive_struct_parameters(input: DeriveInput) -> syn::Result<TokenS
6262
e => {
6363
return syn::Result::Err(syn::Error::new_spanned(
6464
e,
65-
"only PathType attributes are supported.",
65+
"Only PathType attributes are supported",
6666
));
6767
}
6868
};

0 commit comments

Comments
 (0)