Skip to main content

remove

Function remove 

Source
pub fn remove<S: Storage>(storage: &mut S, key: &[u8])
Expand description

Removes an item from storage

ยงArguments

  • storage - a mutable reference to the storage this item is in
  • key - a byte slice representing the key that accesses the stored item