Clean up sc-allocator (#9295)

This commit is contained in:
Bastian Köcher
2021-07-07 13:11:31 +02:00
committed by GitHub
parent f388b66ab5
commit 7bbf949296
5 changed files with 5 additions and 19 deletions
+1 -2
View File
@@ -16,8 +16,7 @@
// limitations under the License.
/// The error type used by the allocators.
#[derive(sp_core::RuntimeDebug)]
#[derive(thiserror::Error)]
#[derive(thiserror::Error, Debug)]
pub enum Error {
/// Someone tried to allocate more memory than the allowed maximum per allocation.
#[error("Requested allocation size is too large")]