From 30df0ca20855b3338d293d0b4ac2eedad68bc257 Mon Sep 17 00:00:00 2001 From: Arcterus Date: Sun, 15 Jun 2014 20:48:10 -0700 Subject: [PATCH] nl: remove to_err_msg (deprecated) --- nl/nl.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nl/nl.rs b/nl/nl.rs index 91b4636c4..9f2bf4b1b 100644 --- a/nl/nl.rs +++ b/nl/nl.rs @@ -114,7 +114,7 @@ pub fn uumain(args: Vec) -> int { let given_options = match getopts(args.tail(), possible_options) { Ok (m) => { m } Err(f) => { - show_error!("{}", f.to_err_msg()); + show_error!("{}", f); print_usage(possible_options); return 1 }