Add comment about Encodable/Decodable impl
This commit is contained in:
parent
c76f47832a
commit
d797a85491
@ -955,6 +955,8 @@ impl<'tcx> PolyExistentialTraitRef<'tcx> {
|
|||||||
/// erase, or otherwise "discharge" these bound vars, we change the
|
/// erase, or otherwise "discharge" these bound vars, we change the
|
||||||
/// type from `Binder<T>` to just `T` (see
|
/// type from `Binder<T>` to just `T` (see
|
||||||
/// e.g., `liberate_late_bound_regions`).
|
/// e.g., `liberate_late_bound_regions`).
|
||||||
|
///
|
||||||
|
/// `Decodable` and `Encodable` is implemented for `Binder<T>` using the `impl_binder_encode_decode!` macro.
|
||||||
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
#[derive(Copy, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Debug)]
|
||||||
pub struct Binder<T>(T);
|
pub struct Binder<T>(T);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user