blob: 72ee26b4357efb44db34c9e396511ef9cda5fae4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
fn main() {
println!("Hello, world!");
}
struct Solution;
impl Solution {
pub fn check_string(s: String) -> bool {
!s.chars().skip_while(|&x| x == 'a').any(|x| x == 'a')
}
}
|