Remove unneeded unit expression

Clippy emits:

  warning: unneeded unit expression

As suggested, remove the unneeded unit expression.
This commit is contained in:
Tobin Harding
2021-05-11 10:50:34 +10:00
parent 7f06dc3330
commit e1066e955c

View File

@@ -535,9 +535,7 @@ macro_rules! fragment_internal {
( @t , $( $tail:tt )* ) => ({ ( @t , $( $tail:tt )* ) => ({
$crate::fragment_internal!( @t $( $tail )* ) $crate::fragment_internal!( @t $( $tail )* )
}); });
( @t ) => ({ ( @t ) => ({});
()
});
// Fallback to calling `fragment!()` // Fallback to calling `fragment!()`
( $( $tokens:tt )* ) => ({ ( $( $tokens:tt )* ) => ({