We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4d191c commit b689d84Copy full SHA for b689d84
rosidl_runtime_rs/src/sequence.rs
@@ -111,6 +111,18 @@ impl<T: SequenceAlloc> Clone for Sequence<T> {
111
}
112
113
impl<T: Debug + SequenceAlloc> Debug for Sequence<T> {
114
+ /// Formats the sequence using the given formatter.
115
+ ///
116
+ /// This implementation formats the sequence as a slice of its elements.
117
118
+ /// # Arguments
119
120
+ /// * `&self` - The sequence to be formatted.
121
+ /// * `f` - The formatter to use for formatting the sequence.
122
123
+ /// # Returns
124
125
+ /// A `Result` containing the formatted sequence or an error if formatting failed.
126
fn fmt(&self, f: &mut fmt::Formatter<'_>) -> Result<(), fmt::Error> {
127
self.as_slice().fmt(f)
128
0 commit comments