fn parse_integers(left: &str, right: &str, stderr: &mut io::Stderr) -> (Option<usize>, Option<usize>) {
    let mut parse_integer = |input: &str| -> Option<usize> {
        input.parse::<usize>().map_err(|_| {
            stderr.write_all(b"integer expression expected: ").try(stderr);
            stderr.write_all(input.as_bytes()).try(stderr);
            stderr.write_all(&[b'\n']).try(stderr);
            stderr.flush().try(stderr);
        }).ok()
    };
    (parse_integer(left), parse_integer(right))
}
/// Attempt to parse a &str as a usize.
Attempt to parse a &str as a usize.
Attempt to parse a &str as a usize .
fn parse_integers(left: &str, right: &str, stderr: &mut io::Stderr) -> (Option<usize>, Option<usize>) {
    let mut parse_integer = |input: &str| -> Option<usize> {
        input.parse::<usize>().map_err(|_| {
            stderr.write_all(b"integer expression expected: ").try(stderr);
            stderr.write_all(input.as_bytes()).try(stderr);
            stderr.write_all(&[b'\n']).try(stderr);
            stderr.flush().try(stderr);
        }).ok()
    };
    (parse_integer(left), parse_integer(right))
}
fn parse_integers ( left : & str , right : & str , stderr : & mut io :: Stderr ) -> ( Option < usize > , Option < usize > ) { let mut parse_integer = | input : & str | -> Option < usize > { input . parse :: < usize > ( ) . map_err ( | _ | { stderr . write_all ( b" " ) . try ( stderr ) ; stderr . write_all ( input . as_bytes ( ) ) . try ( stderr ) ; stderr . write_all ( & [ b'\n' ] ) . try ( stderr ) ; stderr . flush ( ) . try ( stderr ) ; } ) . ok ( ) } ; ( parse_integer ( left ) , parse_integer ( right ) ) }
Attempt to parse a &str as a usize.
Attempt to parse a &str as a usize .
left
&str
right
&str
stderr
&mut io::Stderr