Skip to content

Commit 7428fb4

Browse files
committed
Apply clippy suggestions
1 parent 43ce704 commit 7428fb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enumflags_derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@ fn verify_flag_values<'a>(
155155
) as usize] = [];
156156
));
157157
}
158-
Err(why) => Err(why)?,
158+
Err(why) => return Err(why.into()),
159159
}
160160
}
161161

0 commit comments

Comments
 (0)