typo fix (#5669)
This commit is contained in:
parent
99a1636c62
commit
86b00a9271
@ -77,7 +77,7 @@ impl DBTransaction {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Insert a key-value pair in the transaction. Any existing value value will be overwritten upon write.
|
/// Insert a key-value pair in the transaction. Any existing value will be overwritten upon write.
|
||||||
pub fn put(&mut self, col: Option<u32>, key: &[u8], value: &[u8]) {
|
pub fn put(&mut self, col: Option<u32>, key: &[u8], value: &[u8]) {
|
||||||
let mut ekey = ElasticArray32::new();
|
let mut ekey = ElasticArray32::new();
|
||||||
ekey.append_slice(key);
|
ekey.append_slice(key);
|
||||||
@ -88,7 +88,7 @@ impl DBTransaction {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Insert a key-value pair in the transaction. Any existing value value will be overwritten upon write.
|
/// Insert a key-value pair in the transaction. Any existing value will be overwritten upon write.
|
||||||
pub fn put_vec(&mut self, col: Option<u32>, key: &[u8], value: Bytes) {
|
pub fn put_vec(&mut self, col: Option<u32>, key: &[u8], value: Bytes) {
|
||||||
let mut ekey = ElasticArray32::new();
|
let mut ekey = ElasticArray32::new();
|
||||||
ekey.append_slice(key);
|
ekey.append_slice(key);
|
||||||
@ -99,7 +99,7 @@ impl DBTransaction {
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
/// Insert a key-value pair in the transaction. Any existing value value will be overwritten upon write.
|
/// Insert a key-value pair in the transaction. Any existing value will be overwritten upon write.
|
||||||
/// Value will be RLP-compressed on flush
|
/// Value will be RLP-compressed on flush
|
||||||
pub fn put_compressed(&mut self, col: Option<u32>, key: &[u8], value: Bytes) {
|
pub fn put_compressed(&mut self, col: Option<u32>, key: &[u8], value: Bytes) {
|
||||||
let mut ekey = ElasticArray32::new();
|
let mut ekey = ElasticArray32::new();
|
||||||
|
Loading…
Reference in New Issue
Block a user