From 346cf1a8a371d751e5bf941f1e9cee5bd559745a Mon Sep 17 00:00:00 2001 From: Kirill Date: Fri, 26 Dec 2025 13:52:24 +0300 Subject: [PATCH] feat(Str): Size getter --- 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 2cf1efd..245b773 100644 --- a/src/string/my_str_strict.rs +++ b/src/string/my_str_strict.rs @@ -36,4 +36,8 @@ impl Str { pub fn get_data(&self) -> &Vec { return &self._data; } + + pub fn get_size(&self) -> usize { + return self._size; + } }