Skip to content

Commit f143ef1

Browse files
committed
Merge branch 'master' into dependabot/npm_and_yarn/juniper/graphiql-5.0.5
2 parents 73f773d + 58c54df commit f143ef1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

juniper/src/schema/model.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
use std::fmt;
1+
use std::{fmt, ptr};
22

33
use arcstr::ArcStr;
44
use derive_more::with_trait::Display;
@@ -473,7 +473,7 @@ impl<S> SchemaType<S> {
473473
) -> bool {
474474
self.possible_types(abstract_type)
475475
.into_iter()
476-
.any(|t| (std::ptr::eq(t, possible_type)))
476+
.any(|t| ptr::eq(t, possible_type))
477477
}
478478

479479
/// If the type is a subtype of another type.

0 commit comments

Comments
 (0)