Rust makes this one too easy
\nimpl Solution {\n    pub fn flip_and_invert_image(mut a: Vec<Vec<i32>>) -> Vec<Vec<i32>> {\n        for v in a.iter_mut() {\n            v.reverse();\n       
```\nimpl Solution {\n    pub fn flip_and_invert_image(mut a: Vec<Vec<i32>>) -> Vec<Vec<i32>> {\n        for v in a.iter_mut() {\n            v.reverse();\n            for l in v.iter_mut() {\n                *l ^= 1;\n            }\n        }\n        a\n    }\n}\n```
['Rust']