Use storage::append in the implementation of the storage types (#5889)

* Start improving `storage_append`

* Fix some stuff

* Fix compilation

* Update docs and add new test

* More tests

* Test kill + append
This commit is contained in:
Bastian Köcher authored and GitHub committed 2020-05-05 15:09:07 +02:00
1 parent be0c7b9340
commit bc9707b4c5
19 files changed
+252 -362

No files matched your search

@@ -119,7 +119,7 @@ mod private {
/// Something that can be wrapped in a wasm `Pointer`.
///
/// This trait is sealed.
pub trait PointerType: Sized {
pub trait PointerType: Sized + private::Sealed {
/// The size of the type in wasm.
const SIZE: u32 = mem::size_of::<Self>() as u32;
}