diff --git a/Rust/rustifinity/challenges/ownership.rs b/Rust/rustifinity/challenges/ownership.rs new file mode 100644 index 0000000..9ef109e --- /dev/null +++ b/Rust/rustifinity/challenges/ownership.rs @@ -0,0 +1,4 @@ +pub fn calculate_length(s: &String) -> usize { + // Your code here... + s.len() +}