From ee73efc21c531ad27f2a9e75ebeadc32f942534d Mon Sep 17 00:00:00 2001 From: GueLaKais Date: Mon, 24 Jun 2024 20:54:09 +0200 Subject: [PATCH] fixed errors in commit which would lead to false library usage: --- rosidl_runtime_rs/src/sequence.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/rosidl_runtime_rs/src/sequence.rs b/rosidl_runtime_rs/src/sequence.rs index b725f9f7..45031840 100644 --- a/rosidl_runtime_rs/src/sequence.rs +++ b/rosidl_runtime_rs/src/sequence.rs @@ -476,10 +476,9 @@ where /// ``` /// use rosidl_runtime_rs::Sequence; /// -/// let original = Sequence::new(vec![1, 2, 3]); +/// let original = Sequence::new(6); /// let cloned = original.clone(); /// -/// assert_eq!(original.data, cloned.data); /// ``` /// /// # Panics