File tree 4 files changed +10
-6
lines changed
4 files changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -284,7 +284,7 @@ where
284
284
/// `ClientOptions` are used by [`Node::create_client`][1] to initialize a
285
285
/// [`Client`] for a service.
286
286
///
287
- /// [1]: crate::NodeState ::create_client
287
+ /// [1]: crate::Node ::create_client
288
288
#[ derive( Debug , Clone ) ]
289
289
#[ non_exhaustive]
290
290
pub struct ClientOptions < ' a > {
Original file line number Diff line number Diff line change @@ -199,7 +199,7 @@ impl Node {
199
199
unsafe { call_string_getter_with_rcl_node ( & rcl_node, getter) }
200
200
}
201
201
202
- /// Creates a [`Client`][1] .
202
+ /// Creates a [`Client`].
203
203
///
204
204
/// Pass in only the service name for the `options` argument to use all default client options:
205
205
/// ```
@@ -230,8 +230,10 @@ impl Node {
230
230
/// Any quality of service options that you explicitly specify will override
231
231
/// the default service options. Any that you do not explicitly specify will
232
232
/// remain the default service options. Note that clients are generally
233
- /// expected to use [reliable][2 ], so it's best not to change the reliability
233
+ /// expected to use [reliable][1 ], so it's best not to change the reliability
234
234
/// setting unless you know what you are doing.
235
+ ///
236
+ /// [1]: crate::QoSReliabilityPolicy::Reliable
235
237
pub fn create_client < ' a , T > (
236
238
& self ,
237
239
options : impl Into < ClientOptions < ' a > > ,
@@ -389,7 +391,7 @@ impl Node {
389
391
Ok ( service)
390
392
}
391
393
392
- /// Creates a [`Subscription`][1] .
394
+ /// Creates a [`Subscription`].
393
395
///
394
396
///
395
397
/// Pass in only the topic name for the `options` argument to use all default subscription options:
Original file line number Diff line number Diff line change @@ -234,7 +234,7 @@ where
234
234
/// `PublisherOptions` are used by [`Node::create_publisher`][1] to initialize
235
235
/// a [`Publisher`].
236
236
///
237
- /// [1]: crate::NodeState ::create_publisher
237
+ /// [1]: crate::Node ::create_publisher
238
238
#[ derive( Debug , Clone ) ]
239
239
#[ non_exhaustive]
240
240
pub struct PublisherOptions < ' a > {
Original file line number Diff line number Diff line change @@ -263,8 +263,10 @@ where
263
263
}
264
264
}
265
265
266
- /// `SubscriptionOptions` are used by [`Node::create_subscription`] to initialize
266
+ /// `SubscriptionOptions` are used by [`Node::create_subscription`][1] to initialize
267
267
/// a [`Subscription`].
268
+ ///
269
+ /// [1]: crate::Node::create_subscription
268
270
#[ derive( Debug , Clone ) ]
269
271
#[ non_exhaustive]
270
272
pub struct SubscriptionOptions < ' a > {
You can’t perform that action at this time.
0 commit comments