Skip to content

Commit 0297b34

Browse files
committed
refactor: remove !cf.is_null assert
1 parent 9c8ec67 commit 0297b34

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "tvl-rocksdb"
3-
version = "0.1.0"
3+
version = "0.1.1"
44
edition = "2021"
55
description = "Rust binding of RocksDB's C++ API"
66
authors = ["Khalani Dev"]

src/db.rs

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,6 @@ impl TransactionDb {
152152
value: &[u8],
153153
) -> Result<()> {
154154
let cf = self.inner.get_cf(col);
155-
assert!(!cf.is_null());
156155
moveit! {
157156
let status = unsafe { self.inner.put(options, cf, &key.into(), &value.into()) };
158157
}

0 commit comments

Comments
 (0)