pub fn clear(&mut self, yes: bool) -> Result<(), ThecaError> {
        if !yes {
            println!(
                "are you sure you want to delete all the notes in this profile?"
            );
            if !try!(get_yn_input()) {specific_fail_str!("ok bye ♥");}
        }
        self.notes.truncate(0);
        Ok(())
    }
/// remove all notes from the profile
remove all notes from the profile
remove all notes from the profile
pub fn clear(&mut self, yes: bool) -> Result<(), ThecaError> {
        if !yes {
            println!(
                "are you sure you want to delete all the notes in this profile?"
            );
            if !try!(get_yn_input()) {specific_fail_str!("ok bye ♥");}
        }
        self.notes.truncate(0);
        Ok(())
    }
pub fn clear ( & mut self , yes : bool ) -> Result < ( ) , ThecaError > { if ! yes { println ! ( " " ) ; if ! try ! ( get_yn_input ( ) ) { specific_fail_str ! ( " ; } } self . notes . truncate ( 0 ) ; Ok ( ( ) ) }
remove all notes from the profile
remove all notes from the profile
&mut self
yes
bool
&mut self
yes
bool