diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2021-01-02 13:52:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-02 13:52:42 +0100 |
commit | 41a4a34aee57a4690e5c1b9ba54b27a7035bac37 (patch) | |
tree | 11d9ec87232947515e8c68488119dc1670833e68 /core/async_cancel.rs | |
parent | 88855b5d95be04747ec0ff67d8b33dfde3189641 (diff) |
upgrade: Rust 1.49.0 (#8955)
Diffstat (limited to 'core/async_cancel.rs')
-rw-r--r-- | core/async_cancel.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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) } } |