From bf85e771bebad36d8e65675d77865ab62ab735a2 Mon Sep 17 00:00:00 2001 From: Steve Yen Date: Wed, 8 Jan 2020 06:44:40 -0800 Subject: [PATCH] Fix minor doc typo (#367) --- src/db.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/db.rs b/src/db.rs index a0818e1..2bfe304 100644 --- a/src/db.rs +++ b/src/db.rs @@ -2000,7 +2000,7 @@ fn to_cpath>(path: P) -> Result { /// Wrapper around RocksDB PinnableSlice struct. /// /// With a pinnable slice, we can directly leverage in-memory data within -/// RocksDB toa void unnecessary memory copies. The struct here wraps the +/// RocksDB to avoid unnecessary memory copies. The struct here wraps the /// returned raw pointer and ensures proper finalization work. pub struct DBPinnableSlice<'a> { ptr: *mut ffi::rocksdb_pinnableslice_t,