File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ impl AddressAllocator {
55
55
/// # Arguments:
56
56
/// - `size`: size to allocate.
57
57
/// - `alignment`: alignment to be used for the allocated resources.
58
- /// Valid alignments are a power of 2.
58
+ /// Valid alignments are a power of 2.
59
59
/// - `policy`: allocation policy.
60
60
pub fn allocate (
61
61
& mut self ,
Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ impl Constraint {
249
249
/// # Arguments:
250
250
/// - `size`: size to allocate.
251
251
/// - `align`: alignment to be used for the allocated resources.
252
- /// Valid alignments are a power of 2.
252
+ /// Valid alignments are a power of 2.
253
253
/// - `policy`: allocation policy.
254
254
pub fn new ( size : u64 , align : u64 , policy : AllocPolicy ) -> Result < Self > {
255
255
if size == 0 {
You can’t perform that action at this time.
0 commit comments