fix Demoted
docs
This commit is contained in:
parent
6e19ebcbbb
commit
0d8c978732
@ -1,6 +1,6 @@
|
|||||||
use super::*;
|
use super::*;
|
||||||
|
|
||||||
/// Demoted [`InCtx`], returned by [`InCtx::demote`]. Use when a concrete type required.
|
/// Demoted [`InCtx`], returned by [`InCtx::demote`]. Use when a concrete type is required.
|
||||||
pub struct Demoted<'a: 'c, 'c, Ctx: Context<'a>>(pub(super) &'c mut dyn DeCtx<'a, Ctx>);
|
pub struct Demoted<'a: 'c, 'c, Ctx: Context<'a>>(pub(super) &'c mut dyn DeCtx<'a, Ctx>);
|
||||||
|
|
||||||
impl<'a: 'c, 'c, Ctx: Context<'a>> Stream for Demoted<'a, 'c, Ctx> {
|
impl<'a: 'c, 'c, Ctx: Context<'a>> Stream for Demoted<'a, 'c, Ctx> {
|
||||||
|
Loading…
Reference in New Issue
Block a user