File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -318,7 +318,7 @@ mod tests {
318
318
sink_filter : & Option < & UUri > ,
319
319
_listener : & Arc < dyn UListener > | {
320
320
source_filter == & expected_source_filter
321
- && sink_filter. map_or ( false , |uri| uri. resource_id == resource_id as u32 )
321
+ && sink_filter. is_some_and ( |uri| uri. resource_id == resource_id as u32 )
322
322
} ;
323
323
transport
324
324
. expect_do_register_listener ( )
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ impl UMessageBuilder {
146
146
/// * `method_to_invoke` - The URI identifying the method to invoke.
147
147
/// * `reply_to_address` - The URI that the sender of the request expects the response message at.
148
148
/// * `ttl` - The number of milliseconds after which the request should no longer be processed
149
- /// by the target service. The value is capped at [`i32::MAX`].
149
+ /// by the target service. The value is capped at [`i32::MAX`].
150
150
///
151
151
/// # Examples
152
152
///
@@ -191,7 +191,7 @@ impl UMessageBuilder {
191
191
/// * `reply_to_address` - The URI that the sender of the request expects to receive the response message at.
192
192
/// * `request_id` - The identifier of the request that this is the response to.
193
193
/// * `invoked_method` - The URI identifying the method that has been invoked and which the created message is
194
- /// the outcome of.
194
+ /// the outcome of.
195
195
///
196
196
/// # Examples
197
197
///
@@ -240,8 +240,8 @@ impl UMessageBuilder {
240
240
///
241
241
/// # Arguments
242
242
///
243
- /// * `request_attributes` - The attributes from the request message. The response message builder will be initialized
244
- /// with the corresponding attribute values.
243
+ /// * `request_attributes` - The attributes from the request message. The response message
244
+ /// builder will be initialized with the corresponding attribute values.
245
245
///
246
246
/// # Examples
247
247
///
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ impl From<&UUri> for String {
70
70
/// # Arguments
71
71
///
72
72
/// * `uri` - The URI to serialize. Note that the given URI is **not** validated before serialization.
73
- /// In particular, the URI's version and resource ID length are not checked to be within limits.
73
+ /// In particular, the URI's version and resource ID length are not checked to be within limits.
74
74
///
75
75
/// # Returns
76
76
///
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ impl TryFrom<&UUri> for StaticUriProvider {
101
101
/// # Arguments
102
102
///
103
103
/// * `source_uri` - The UUri to take the entity's authority, entity ID and version information from.
104
- /// The UUri's resource ID is ignored.
104
+ /// The UUri's resource ID is ignored.
105
105
///
106
106
/// # Errors
107
107
///
You can’t perform that action at this time.
0 commit comments