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
No known key found for this signature in database
GPG Key ID: 40BF9E4C269D6607

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 )* ) => ({