Skip to content

Commit 3d925ca

Browse files
committed
doc: Make links work
Signed-off-by: David Brown <[email protected]>
1 parent 9d90426 commit 3d925ca

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

zephyr/src/printk.rs

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
//!
66
//! The Zephyr configuration `CONFIG_PRINTK` must be enabled for this functionality to be present.
77
//!
8-
//! This module provides two macros: [`printk`] and [`printkln`]. These are analagous to
8+
//! This module provides two macros: [`crate::printk!`] and [`crate::printkln!`]. These are analagous to
99
//! [`std::print`](https://doc.rust-lang.org/std/macro.print.html) and
1010
//! [`std::println`](https://doc.rust-lang.org/std/macro.println.html) macros.
1111
//!
@@ -22,7 +22,7 @@ use core::fmt::{
2222

2323
/// Print to Zephyr's console.
2424
///
25-
/// Equivalent to the [`printkln!`] macro except that a newline is not printed at the end of the
25+
/// Equivalent to the [`crate::printkln!`] macro except that a newline is not printed at the end of the
2626
/// message.
2727
///
2828
/// Note that printk access in Zephyr are uncoordinated unless `CONFIG_PRINTK_SYNC` is enabled.
@@ -35,6 +35,9 @@ macro_rules! printk {
3535
}};
3636
}
3737

38+
/// Print to Zephyr's console.
39+
///
40+
/// TODO
3841
#[macro_export]
3942
macro_rules! printkln {
4043
($($arg:tt)*) => {{

0 commit comments

Comments
 (0)