fn return_stamp_file_value(file: &str, word: &str) -> Option<String> {
        let created = file
            .lines()
            .find(|line| line.starts_with(word))
            .and_then(|l| l.split_whitespace().nth(1));

        created.map(|s| s.to_string())
    }
/// Read the stamp file and return value assigned to a certain key.
Read the stamp file and return value assigned to a certain key.
Read the stamp file and return value assigned to a certain key .
fn return_stamp_file_value(file: &str, word: &str) -> Option<String> {
        let created = file
            .lines()
            .find(|line| line.starts_with(word))
            .and_then(|l| l.split_whitespace().nth(1));
        created.map(|s| s.to_string())
    }
fn return_stamp_file_value ( file : & str , word : & str ) -> Option < String > { let created = file . lines ( ) . find ( | line | line . starts_with ( word ) ) . and_then ( | l | l . split_whitespace ( ) . nth ( 1 ) ) ; created . map ( | s | s . to_string ( ) ) }
Read the stamp file and return value assigned to a certain key.
Read the stamp file and return value assigned to a certain key .
file
&str
word
&str