Skip to content

Commit c43d054

Browse files
committed
Fix doc to compile example successfully
1 parent a8b1368 commit c43d054

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

rclrs/src/context.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ impl Context {
145145
/// ```
146146
/// # use rclrs::Context;
147147
/// let ctx = Context::new([]).unwrap();
148-
/// let builder = ctx.node_builder("foo_node");
148+
/// let builder = ctx.create_node_builder("foo_node");
149149
/// let node = builder.build();
150150
/// ```
151151
pub fn create_node_builder<'a>(&'a self, node_name: &'a str) -> NodeBuilder<'a> {

0 commit comments

Comments
 (0)