• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 use core::fmt::{self, Pointer};
2 
3 pub struct Var<'a, T: ?Sized>(pub &'a T);
4 
5 impl<'a, T: Pointer + ?Sized> Pointer for Var<'a, T> {
fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result6     fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
7         Pointer::fmt(self.0, formatter)
8     }
9 }
10