Fix docstrings

This commit is contained in:
Joscha 2023-04-21 02:15:17 +02:00
parent 502ebab132
commit babdd10fba

View file

@ -1,4 +1,4 @@
//! A [`BlockProvider`] for message trees. //! A [`Renderer`] for message trees.
use std::convert::Infallible; use std::convert::Infallible;
@ -100,8 +100,8 @@ where
S: MsgStore<M> + Send + Sync, S: MsgStore<M> + Send + Sync,
S::Error: Send, S::Error: Send,
{ {
/// You must call [`Self::prepare_blocks`] immediately after calling /// You must call [`Self::prepare_blocks_for_drawing`] immediately after
/// this function. /// calling this function.
pub fn new( pub fn new(
context: TreeContext<M::Id>, context: TreeContext<M::Id>,
store: &'a S, store: &'a S,