pub fn follow(document: &BathroomDocument, keypad: &'a mut Keypad) {
            if let Some(mut finger) = Finger::new(keypad, document.initial_button) {
                for &action in &document.instructions {
                    finger.perform(action);
                }
            }
        }
/// Follow every instructions from the `BathroomDocument` on the given `Keypad`.
Follow every instructions from the `BathroomDocument` on the given `Keypad`.
Follow every instructions from the ` BathroomDocument ` on the given ` Keypad ` .
pub fn follow(document: &BathroomDocument, keypad: &'a mut Keypad) {
            if let Some(mut finger) = Finger::new(keypad, document.initial_button) {
                for &action in &document.instructions {
                    finger.perform(action);
                }
            }
        }
pub fn follow ( document : & BathroomDocument , keypad : & ' a mut Keypad ) { if let Some ( mut finger ) = Finger :: new ( keypad , document . initial_button ) { for & action in & document . instructions { finger . perform ( action ) ; } } }
Follow every instructions from the `BathroomDocument` on the given `Keypad`.
Follow every instructions from the ` BathroomDocument ` on the given ` Keypad ` .
document
&BathroomDocument
keypad
&'a mut Keypad
document
&BathroomDocument
keypad
&'a mut Keypad