Use default parameters from underlying functions
This commit is contained in:
parent
2a04da9b3f
commit
dab6ad0f20
1 changed files with 4 additions and 4 deletions
|
@ -1025,22 +1025,22 @@ impl EntryHeader {
|
|||
|
||||
#[inline]
|
||||
pub fn insert(&mut self, spec: &str, v: Value) -> Result<bool> {
|
||||
self.insert_with_sep(spec, '.', v)
|
||||
self.0.insert(spec, v)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn set(&mut self, spec: &str, v: Value) -> Result<Option<Value>> {
|
||||
self.set_with_sep(spec, '.', v)
|
||||
self.0.set(spec, v)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn read(&self, spec: &str) -> Result<Option<Value>> {
|
||||
self.read_with_sep(spec, '.')
|
||||
self.0.read(spec)
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn delete(&mut self, spec: &str) -> Result<Option<Value>> {
|
||||
self.delete_with_sep(spec, '.')
|
||||
self.0.delete(spec)
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue