☰
Debian Codegraph
@
0.12.0-1
0.10.0-1
/
/
debian
/
rust-vendor
/
thiserror
/
src
/
var.rs
☽
☼
debian/rust-vendor/thiserror/src/var.rs
code
plain
raw
MIT
or
Apache-2.0
the respective crate authors
debian/copyright
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
}