1
2
3
4
5
6
7
8
9
10
11
12
13
14
//! Extra functionality of `&own T` references.
use ::core::fmt;

use crate::OwnRef;

impl<'slot, D, T : fmt::Debug> fmt::Debug for OwnRef<'slot, T, D> {
    fn fmt(
        self: &'_ OwnRef<'slot, T, D>,
        f: &mut fmt::Formatter<'_>,
    ) -> fmt::Result
    {
        (**self).fmt(f)
    }
}