From b0507b73233a9d3d6fb8272cb43f69ee7ba3e47c Mon Sep 17 00:00:00 2001 From: Kirill Date: Fri, 12 Dec 2025 13:46:43 +0300 Subject: [PATCH] feat(Str): Added method to get_data This method sends link of label _data from strict --- src/string/my_str_strict.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/string/my_str_strict.rs b/src/string/my_str_strict.rs index 15d5af4..2cf1efd 100644 --- a/src/string/my_str_strict.rs +++ b/src/string/my_str_strict.rs @@ -32,4 +32,8 @@ impl Str { _capacity: SIZE, }; } + + pub fn get_data(&self) -> &Vec { + return &self._data; + } }