Merge pull request #152 from iSynaptic/master

Adding Send marker trait to Options...
master
Tyler Neely 7 years ago committed by GitHub
commit 27abe37abb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/db_options.rs

@ -30,6 +30,8 @@ pub fn new_cache(capacity: size_t) -> *mut ffi::rocksdb_cache_t {
unsafe { ffi::rocksdb_cache_create_lru(capacity) } unsafe { ffi::rocksdb_cache_create_lru(capacity) }
} }
unsafe impl Send for Options {}
impl Drop for Options { impl Drop for Options {
fn drop(&mut self) { fn drop(&mut self) {
unsafe { unsafe {

Loading…
Cancel
Save