Skip to content

Commit 6434047

Browse files
committed
Remove a useless conversion
1 parent a7b8632 commit 6434047

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

enumflags_derive/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ pub fn bitflags_internal(
3737
}
3838
};
3939

40-
let impls = TokenStream::from(impls.unwrap_or_else(|err| err.to_compile_error()));
40+
let impls = impls.unwrap_or_else(|err| err.to_compile_error());
4141
let combined = quote! {
4242
#ast
4343
#impls

0 commit comments

Comments
 (0)