Function is_palindrome2

Source
pub fn is_palindrome2(s: String) -> bool