This way it’s subjectively slightly less painful to behold, and doesn’t
get marked as untested on !alloc (for good or bad).
///
/// ## Example
///
- #[cfg_attr(feature = "alloc", doc = " ```")]
- #[cfg_attr(not(feature = "alloc"), doc = " ```rust,ignore")]
+ /// ```
+ /// # #[cfg(feature = "alloc")] {
/// use verhoeff::VerhoeffMut;
/// let mut digits = String::from("12345");
/// digits.push_verhoeff_check_digit();
/// assert_eq!(digits, "123451");
- #[doc = " ```"] // just to keep the Vim syntax highlighter happy. Silly, huh?
+ /// # }
+ /// ```
fn push_verhoeff_check_digit(&mut self);
}