fixup rust doc

This commit is contained in:
Maybe Waffle 2024-01-12 12:17:30 +01:00
parent 9abc6b9b7b
commit 613db10a6f

View file

@ -74,7 +74,7 @@ pub trait UpdateListener {
/// error if something goes wrong with it. For example for webhooks this /// error if something goes wrong with it. For example for webhooks this
/// should call `set_webhook`. /// should call `set_webhook`.
/// ///
/// [`Stream`]: AsUpdateStream::Stream /// [`Stream`]: UpdateListener::Stream
fn listen(&mut self) -> BoxFut<'_, Result<Self::Stream<'_>, Self::SetupErr>>; fn listen(&mut self) -> BoxFut<'_, Result<Self::Stream<'_>, Self::SetupErr>>;
/// Hint which updates should the listener listen for. /// Hint which updates should the listener listen for.