From 47e3f0b1a86388696ebc2166ace56f4367eacea1 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Sat, 27 May 2023 11:01:21 -0700 Subject: Fix typo in comment in SharedPtr implementation --- src/shared_ptr.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/shared_ptr.rs b/src/shared_ptr.rs index 64c86619..377b214f 100644 --- a/src/shared_ptr.rs +++ b/src/shared_ptr.rs @@ -191,8 +191,8 @@ pub unsafe trait SharedPtrTarget { where Self: Sized, { - // Opoaque C types do not get this method because they can never exist - // by value on the Rust side of the bridge. + // Opaque C types do not get this method because they can never exist by + // value on the Rust side of the bridge. let _ = value; let _ = new; unreachable!() -- cgit v1.2.3