Skip to content

Commit e1066e9

Browse files
committed
Remove unneeded unit expression
Clippy emits: warning: unneeded unit expression As suggested, remove the unneeded unit expression.
1 parent 7f06dc3 commit e1066e9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/descriptor/dsl.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -535,9 +535,7 @@ macro_rules! fragment_internal {
535535
( @t , $( $tail:tt )* ) => ({
536536
$crate::fragment_internal!( @t $( $tail )* )
537537
});
538-
( @t ) => ({
539-
()
540-
});
538+
( @t ) => ({});
541539

542540
// Fallback to calling `fragment!()`
543541
( $( $tokens:tt )* ) => ({

0 commit comments

Comments
 (0)