Skip to content

Commit

Permalink
Remove needles ToTokens import
Browse files Browse the repository at this point in the history
  • Loading branch information
juhaku committed Mar 17, 2023
1 parent 84e6e68 commit d399280
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion utoipa-gen/src/component.rs
Original file line number Diff line number Diff line change
Expand Up @@ -340,7 +340,6 @@ impl<'t> TypeTree<'t> {
#[cfg(not(feature = "debug"))]
impl PartialEq for TypeTree<'_> {
fn eq(&self, other: &Self) -> bool {
use quote::ToTokens;
let path_eg = match (self.path.as_ref(), other.path.as_ref()) {
(Some(Cow::Borrowed(self_path)), Some(Cow::Borrowed(other_path))) => {
self_path.into_token_stream().to_string()
Expand Down

0 comments on commit d399280

Please sign in to comment.