2023/src/utils.rs

6 lines
114 B
Rust

#[allow(dead_code)]
pub fn convert_to_string_slice(content: &str) -> Vec<&str> {
content.lines().collect()
}