Skip to content

Commit

Permalink
rename config option
Browse files Browse the repository at this point in the history
Signed-off-by: Heinz N. Gies <heinz@licenser.net>
  • Loading branch information
Licenser committed Jul 1, 2022
1 parent 8540580 commit fece3d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion serial_test_derive/src/lib.rs
Expand Up @@ -213,7 +213,7 @@ fn get_raw_args(attr: proc_macro2::TokenStream) -> Vec<Arg> {
match attrs.remove(0) {
TokenTree::Ident(id) => {
let name = id.to_string();
if name == "timeout" {
if name == "timeout_ms" {
match attrs.first() {
Some(TokenTree::Punct(p)) if p.as_char() == '=' && !attrs.is_empty() => {
attrs.remove(0);
Expand Down

0 comments on commit fece3d6

Please sign in to comment.