1 2 3 4 5 6 7 8 9 10 11 12 13 14
use rsrusl; fn main() { testing::run_tests(|| { userinput(); // You can add more tests here }); } fn userinput() { // Use our rusl library functions let input = rsrusl::i::userinput("Enter your name:"); rsrusl::g(&input); }