diff options
author | David Tolnay <dtolnay@gmail.com> | 2023-05-27 11:01:21 -0700 |
---|---|---|
committer | David Tolnay <dtolnay@gmail.com> | 2023-05-27 11:01:21 -0700 |
commit | 47e3f0b1a86388696ebc2166ace56f4367eacea1 (patch) | |
tree | 311192888935eaa7c0854dcda23e010779b19845 /src | |
parent | f4abebe5b41d135f60f9d9034ac91845a52f0fa5 (diff) | |
download | cxx-47e3f0b1a86388696ebc2166ace56f4367eacea1.tar.gz |
Fix typo in comment in SharedPtr implementation
Diffstat (limited to 'src')
-rw-r--r-- | src/shared_ptr.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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!() |