From 41a4a34aee57a4690e5c1b9ba54b27a7035bac37 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Sat, 2 Jan 2021 13:52:42 +0100 Subject: upgrade: Rust 1.49.0 (#8955) --- core/async_cancel.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/async_cancel.rs') diff --git a/core/async_cancel.rs b/core/async_cancel.rs index 90cb0c41f..51ed4c647 100644 --- a/core/async_cancel.rs +++ b/core/async_cancel.rs @@ -334,7 +334,7 @@ mod internal { impl PartialEq for Node { fn eq(&self, other: &Self) -> bool { - self as *const _ == other as *const _ + std::ptr::eq(self, other) } } -- cgit v1.2.3