[][src]Function polymorph_allocator::align_down

pub fn align_down(addr: usize, align: usize) -> usize

Align an address downwards, returning the greatest X with alignment align so that x <= addr. The alignment must be a power of two.

Panics

Will panic if align is not a power of two.