Skip to content

Commit 30a6717

Browse files
committed
Makes rustdoc pass in the examples.
Signed-off-by: Agustin Alba Chicar <[email protected]>
1 parent 655185d commit 30a6717

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

examples/rclrs_timer_demo/src/rclrs_timer_demo.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ impl SimpleTimerNode {
1818
/// Creates a node and a timer with a callback.
1919
///
2020
/// The callback will simply print to stdout:
21-
/// "Drinking 🧉 for the <x>th time every <p> nanoseconds."
22-
/// where <x> is the iteration callback counter and <p> is the period of the timer.
21+
/// "Drinking 🧉 for the xth time every p nanoseconds."
22+
/// where x is the iteration callback counter and p is the period of the timer.
2323
fn new(context: &Context, timer_period_ns: i64) -> Result<Self, RclrsError> {
2424
let node = create_node(context, "simple_timer_node")?;
2525
let count: Arc<Mutex<i32>> = Arc::new(Mutex::new(0));

0 commit comments

Comments
 (0)