Rust one-liner solution
rust\nimpl Solution {\n    pub fn find_subarrays(nums: Vec<i32>) -> bool {\n        (nums\n            .windows(2)\n            .map(|slice| slice[0] + slice[1]
```rust\nimpl Solution {\n    pub fn find_subarrays(nums: Vec<i32>) -> bool {\n        (nums\n            .windows(2)\n            .map(|slice| slice[0] + slice[1])\n            .collect::<std::collections::HashSet<i32>>())\n        .len()\n            != nums.len() - 1\n    }\n}\n```
['Rust']