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; + } }