diff --git a/src/lib.rs b/src/lib.rs index fbd7bbc..50b66c9 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -89,7 +89,7 @@ pub trait Containerized { } /// Push an item `T` into a region. -pub trait Push: Region { +pub trait Push: Region { /// Push `item` into self, returning an index that allows to look up the /// corresponding read item. #[must_use] @@ -99,7 +99,7 @@ pub trait Push: Region { /// Reserve space in the receiving region. /// /// Closely related to [`Push`], but separate because target type is likely different. -pub trait ReserveItems: Region { +pub trait ReserveItems { /// Ensure that the region can absorb `items` without reallocation. fn reserve_items(&mut self, items: I) where