//! Alignment utility functions.
/// 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.
/// Align an address upwards, returning the smallest 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.