diff --git a/allocative/src/impls/std/primitive.rs b/allocative/src/impls/std/primitive.rs index f334039..ef88202 100644 --- a/allocative/src/impls/std/primitive.rs +++ b/allocative/src/impls/std/primitive.rs @@ -35,6 +35,12 @@ impl Allocative for u64 { } } +impl Allocative for u128 { + fn visit<'a, 'b: 'a>(&self, visitor: &'a mut Visitor<'b>) { + visitor.visit_simple_sized::(); + } +} + impl Allocative for usize { fn visit<'a, 'b: 'a>(&self, visitor: &'a mut Visitor<'b>) { visitor.visit_simple_sized::(); @@ -65,6 +71,12 @@ impl Allocative for i64 { } } +impl Allocative for i128 { + fn visit<'a, 'b: 'a>(&self, visitor: &'a mut Visitor<'b>) { + visitor.visit_simple_sized::(); + } +} + impl Allocative for isize { fn visit<'a, 'b: 'a>(&self, visitor: &'a mut Visitor<'b>) { visitor.visit_simple_sized::();