rsteract 0.1.0

From stdin to String and back to stdout
Documentation
1
2
3
4
5
use std::io::{stdin, stdout};

pub fn interact(f: impl Fn(String) -> String) -> Result<(), std::io::Error> {
    super::interact(stdin().lock(), stdout(), f)
}