Skip to content

Commit 58c54df

Browse files
committed
Make rustc lints happy on latest nightly
1 parent 4ccc3f6 commit 58c54df

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)