Skip to content

Commit 09fecfa

Browse files
Merge #611
611: Fix `cargo doc`-warnings r=Urhengulas a=Urhengulas Co-authored-by: Johann Hemmann <johann.hemmann@code.berlin>
2 parents 1806bb1 + 91b2bd7 commit 09fecfa

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

decoder/src/stream/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ use crate::{DecodeError, Frame};
88

99
pub trait StreamDecoder {
1010
/// Push received data to the decoder. The decoder stores it
11-
/// internally, and makes decoded frames available through [`decode`].
11+
/// internally, and makes decoded frames available through [`decode`](StreamDecoder::decode).
1212
fn received(&mut self, data: &[u8]);
1313

1414
fn decode(&mut self) -> Result<Frame<'_>, DecodeError>;

defmt/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -324,7 +324,7 @@ pub use defmt_macros::timestamp;
324324

325325
/// Generates a bitflags structure that can be formatted with defmt.
326326
///
327-
/// This macro is a wrapper around the [`bitflags`] crate, and provides an (almost) identical
327+
/// This macro is a wrapper around the [`bitflags!`] crate, and provides an (almost) identical
328328
/// interface. Refer to [its documentation] for an explanation of the syntax.
329329
///
330330
/// [its documentation]: https://docs.rs/bitflags/1/bitflags/

0 commit comments

Comments
 (0)