fix Demoted docs

This commit is contained in:
AF 2023-07-30 20:54:22 +00:00
parent 6e19ebcbbb
commit 0d8c978732

View File

@ -1,6 +1,6 @@
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>);
impl<'a: 'c, 'c, Ctx: Context<'a>> Stream for Demoted<'a, 'c, Ctx> {