Skip to content

Commit 5857824

Browse files
committed
chore: appease clippy
Signed-off-by: Patrick Roy <[email protected]>
1 parent 24bb428 commit 5857824

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/address_allocator.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ impl AddressAllocator {
5555
/// # Arguments:
5656
/// - `size`: size to allocate.
5757
/// - `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.
5959
/// - `policy`: allocation policy.
6060
pub fn allocate(
6161
&mut self,

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -249,7 +249,7 @@ impl Constraint {
249249
/// # Arguments:
250250
/// - `size`: size to allocate.
251251
/// - `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.
253253
/// - `policy`: allocation policy.
254254
pub fn new(size: u64, align: u64, policy: AllocPolicy) -> Result<Self> {
255255
if size == 0 {

0 commit comments

Comments
 (0)