From babdd10fba992fcbd4b11e1e0260aa50da7420de Mon Sep 17 00:00:00 2001 From: Joscha Date: Fri, 21 Apr 2023 02:15:17 +0200 Subject: [PATCH] Fix docstrings --- src/ui/chat/tree/renderer.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ui/chat/tree/renderer.rs b/src/ui/chat/tree/renderer.rs index 5e1a876..b7d358b 100644 --- a/src/ui/chat/tree/renderer.rs +++ b/src/ui/chat/tree/renderer.rs @@ -1,4 +1,4 @@ -//! A [`BlockProvider`] for message trees. +//! A [`Renderer`] for message trees. use std::convert::Infallible; @@ -100,8 +100,8 @@ where S: MsgStore + Send + Sync, S::Error: Send, { - /// You must call [`Self::prepare_blocks`] immediately after calling - /// this function. + /// You must call [`Self::prepare_blocks_for_drawing`] immediately after + /// calling this function. pub fn new( context: TreeContext, store: &'a S,