Remove unneeded unit expression
Clippy emits: warning: unneeded unit expression As suggested, remove the unneeded unit expression.
This commit is contained in:
parent
7f06dc3330
commit
e1066e955c
@ -535,9 +535,7 @@ macro_rules! fragment_internal {
|
||||
( @t , $( $tail:tt )* ) => ({
|
||||
$crate::fragment_internal!( @t $( $tail )* )
|
||||
});
|
||||
( @t ) => ({
|
||||
()
|
||||
});
|
||||
( @t ) => ({});
|
||||
|
||||
// Fallback to calling `fragment!()`
|
||||
( $( $tokens:tt )* ) => ({
|
||||
|
Loading…
x
Reference in New Issue
Block a user