Debian Codegraph @

.cargo/vendor/thiserror/src/var.rs

raw
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> {
6 fn fmt(&self, formatter: &mut fmt::Formatter) -> fmt::Result {
7 Pointer::fmt(self.0, formatter)
8 }
9 }