File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -163,6 +163,8 @@ impl<const SIZE: usize> Stack<SIZE> {
163163/// No mutable references to that memory must exist.
164164/// Therefore, a function that gets passed such an object is free to write
165165/// to arbitrary memory locations in the range.
166+ #[ derive( Debug ) ]
167+ #[ cfg_attr( feature = "defmt" , derive( defmt:: Format ) ) ]
166168pub struct StackAllocation {
167169 /// Start and end pointer of the StackAllocation as a Range
168170 mem : Range < * mut usize > ,
Original file line number Diff line number Diff line change @@ -147,6 +147,8 @@ impl<const SIZE: usize> Stack<SIZE> {
147147/// No mutable references to that memory must exist.
148148/// Therefore, a function that gets passed such an object is free to write
149149/// to arbitrary memory locations in the range.
150+ #[ derive( Debug ) ]
151+ #[ cfg_attr( feature = "defmt" , derive( defmt:: Format ) ) ]
150152pub struct StackAllocation {
151153 /// Start and end pointer of the StackAllocation as a Range
152154 mem : Range < * mut usize > ,
You can’t perform that action at this time.
0 commit comments