-fn read_one_line() -> String {
- println!("Please enter a line of text.");
- let mut stdin = io::stdin();
- let mut prefix = "".to_string();
- stdin.read_line(&mut prefix).unwrap();
- prefix
+fn print_with_prefix_v1(b: &BigInt, prefix: String) {
+ let my_action = PrintWithString { prefix: prefix };
+ b.act_v1(my_action);