This commit is contained in:
nora 2022-09-14 23:03:08 +02:00
parent bded715627
commit 53e8bec4ec
3 changed files with 6 additions and 5 deletions

View file

@ -91,6 +91,7 @@ macro_rules! options {
impl<W, O: FmtOpts> Formatter<W, O> {
$(
#[doc = concat!("Gets the `", stringify!($name), "` option from the underlying options type.")]
#[inline]
pub fn $name(&self) -> $ret {
O::$name(&self.opts)