We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
rustc
1 parent 4ccc3f6 commit 58c54dfCopy full SHA for 58c54df
1 file changed
juniper/src/schema/model.rs
@@ -1,4 +1,4 @@
1
-use std::fmt;
+use std::{fmt, ptr};
2
3
use arcstr::ArcStr;
4
use derive_more::with_trait::Display;
@@ -473,7 +473,7 @@ impl<S> SchemaType<S> {
473
) -> bool {
474
self.possible_types(abstract_type)
475
.into_iter()
476
- .any(|t| (std::ptr::eq(t, possible_type)))
+ .any(|t| ptr::eq(t, possible_type))
477
}
478
479
/// If the type is a subtype of another type.
0 commit comments