Skip to content

Commit 65766bd

Browse files
committed
Remove mutability from base remove() method
1 parent 5a26746 commit 65766bd

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/nvs.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -916,7 +916,7 @@ impl<T: NvsPartitionId> EspKeyValueStorage<T> {
916916
self.len(name).map(|v| v.is_some())
917917
}
918918

919-
pub fn remove(&mut self, name: &str) -> Result<bool, EspError> {
919+
pub fn remove(&self, name: &str) -> Result<bool, EspError> {
920920
self.0.remove(name)
921921
}
922922

0 commit comments

Comments
 (0)