Remove unneeded unit expression

Clippy emits:

  warning: unneeded unit expression

As suggested, remove the unneeded unit expression.
This commit is contained in:
Tobin Harding committed 2021-05-11 10:52:08 +10:00
1 parent 7f06dc3330
commit e1066e955c
1 file changed
+1 -3
+1 -3
View File
@@ -535,9 +535,7 @@ macro_rules! fragment_internal {
( @t , $( $tail:tt )* ) => ({
$crate::fragment_internal!( @t $( $tail )* )
});
( @t ) => ({
()
});
( @t ) => ({});
// Fallback to calling `fragment!()`
( $( $tokens:tt )* ) => ({