Skip to content

Commit

Permalink
docs: fix broken link and typos (#78)
Browse files Browse the repository at this point in the history
  • Loading branch information
kzdnk authored Jan 19, 2025
1 parent c0dbfbc commit dbb5358
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions source/postcard-rpc/src/server/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -232,13 +232,13 @@ impl<Tx: WireTx> Sender<Tx> {
self.tx.send::<T::Message>(wh, msg).await
}

/// Log a `str` directly to the [`LoggingTopic`][crate::standard_idc::LoggingTopic]
/// Log a `str` directly to the [`LoggingTopic`][crate::standard_icd::LoggingTopic]
#[inline]
pub async fn log_str(&self, msg: &str) -> Result<(), Tx::Error> {
self.tx.send_log_str(self.kkind, msg).await
}

/// Format a message to the [`LoggingTopic`][crate::standard_idc::LoggingTopic]
/// Format a message to the [`LoggingTopic`][crate::standard_icd::LoggingTopic]
#[inline]
pub async fn log_fmt(&self, msg: Arguments<'_>) -> Result<(), Tx::Error> {
self.tx.send_log_fmt(self.kkind, msg).await
Expand Down
2 changes: 1 addition & 1 deletion source/postcard-rpc/src/standard_icd.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
//! These are items you can use for your error path and error key.
//!
//! This is used by [`define_dispatch!()`] as well.
//! This is used by [`define_dispatch!()`][crate::define_dispatch] as well.
use crate::{endpoints, topics, Key, TopicDirection};
use postcard_schema::Schema;
Expand Down

0 comments on commit dbb5358

Please sign in to comment.