mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-04-30 22:27:56 +00:00
Clean up sc-allocator (#9295)
This commit is contained in:
@@ -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")]
|
||||
|
||||
Reference in New Issue
Block a user