message: [pdsl_core] Add DerefMut impl for storage::Value<T>
diff: @@ -95,11 +95,16 @@ impl<T> Value<T>
  where
  T: parity_codec::Codec,
  {
  - /// Returns the wrapped value as immutable reference.
  + /// Returns an immutable reference to the wrapped value.
  pub fn get(&self) -> &T {
  self.cell.get().unwrap()
  }
  + /// Returns a mutable reference to the wrapped value.
  + pub fn get_mut(&mut self) -> &mut T {
  + self.cell.get_mut().unwrap()
  + }
  +
  /// Sets the wrapped value to the given value.
  pub fn set(&mut self, val: T) {
  self.cell.set(val);
  @@ -141,6 +146,15 @@ where
  }
  }
  +impl<T> core::ops::DerefMut for Value<T>
  +where
  + T: parity_codec::Codec,
  +{
  + fn deref_mut(&mut self) -> &mut Self::Target {
  + self.get_mut()
  + }
  +}
  +
  impl<T> Flush for Value<T>
  where
  T: parity_codec::Encode,
  