Skip to content

Commit

Permalink
Makes rustdoc pass in the examples.
Browse files Browse the repository at this point in the history
Signed-off-by: Agustin Alba Chicar <[email protected]>
  • Loading branch information
agalbachicar committed Dec 1, 2024
1 parent 655185d commit 30a6717
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/rclrs_timer_demo/src/rclrs_timer_demo.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@ impl SimpleTimerNode {
/// Creates a node and a timer with a callback.
///
/// The callback will simply print to stdout:
/// "Drinking 🧉 for the <x>th time every <p> nanoseconds."
/// where <x> is the iteration callback counter and <p> is the period of the timer.
/// "Drinking 🧉 for the xth time every p nanoseconds."
/// where x is the iteration callback counter and p is the period of the timer.
fn new(context: &Context, timer_period_ns: i64) -> Result<Self, RclrsError> {
let node = create_node(context, "simple_timer_node")?;
let count: Arc<Mutex<i32>> = Arc::new(Mutex::new(0));
Expand Down

0 comments on commit 30a6717

Please sign in to comment.