/// Info from stdin should has the following format:
/// <id>:<name>:<class>
Info from stdin should has the following format:
::
Info from stdin should has the following format : ::
fn parse_stdin() -> io::Result<Vec<student::ActiveModel>> {
    let mut vec = vec![];
    let lines = io::stdin().lines();
    for line in lines {
        let line = line?;
        vec.push(parse_student_info(line)?);
    }
    Ok(vec)
}
fn parse_stdin ( ) -> io :: Result < Vec < student :: ActiveModel > > { let mut vec = vec ! [ ] ; let lines = io :: stdin ( ) . lines ( ) ; for line in lines { let line = line ? ; vec . push ( parse_student_info ( line ) ? ) ; } Ok ( vec ) }
Info from stdin should has the following format:
<id>:<name>:<class>
Info from stdin should has the following format : <id > : <name > : <class >