diff options
| author | Steven Fackler <[email protected]> | 2017-07-15 21:53:49 -0700 |
|---|---|---|
| committer | Steven Fackler <[email protected]> | 2017-07-15 21:53:49 -0700 |
| commit | 374ad206d53c19d4be5636564d9010d9756497be (patch) | |
| tree | 7610e491d1bc8554e869db34a6f9f3aca8398443 /openssl/src/util.rs | |
| parent | Rustfmt (diff) | |
| download | rust-openssl-374ad206d53c19d4be5636564d9010d9756497be.tar.xz rust-openssl-374ad206d53c19d4be5636564d9010d9756497be.zip | |
Use foreign-type's Opaque
Diffstat (limited to 'openssl/src/util.rs')
| -rw-r--r-- | openssl/src/util.rs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/openssl/src/util.rs b/openssl/src/util.rs index 58abd9ec..1093b491 100644 --- a/openssl/src/util.rs +++ b/openssl/src/util.rs @@ -91,8 +91,3 @@ where } } } - -/// This is intended to be used as the inner type for `FooRef` types converted from raw C pointers. -/// It has an `UnsafeCell` internally to inform the compiler about aliasability and doesn't -/// implement `Copy`, so it can't be dereferenced. -pub struct Opaque(UnsafeCell<()>); |