Rust one liner solutions
Simple solution with MOD-operation\n\nimpl Solution {\n    pub fn smallest_equal(nums: Vec<i32>) -> i32 {\n        nums.iter()\n            .zip(0..)\n         
1. Simple solution with MOD-operation\n```\nimpl Solution {\n    pub fn smallest_equal(nums: Vec<i32>) -> i32 {\n        nums.iter()\n            .zip(0..)\n            .position(|(x, i)| i % 10 == *x)\n            .map_or(-1, |i| i as i32)\n    }\n}\n```\n2. Solution with cycle index (w/o MOD)\n```\nimpl Solution {\n    pub fn smallest_equal(nums: Vec<i32>) -> i32 {\n        nums.iter()\n            .zip((0..10).cycle())\n            .position(|(x, i)| i == *x)\n            .map_or(-1, |i| i as i32)\n    }\n}\n```
['Rust']