From 1ee1f9274af1db804671cfd1b34d9f2582d1a3ef Mon Sep 17 00:00:00 2001 From: Tim Kuehn Date: Fri, 19 Feb 2016 22:33:13 -0800 Subject: [PATCH] Fix some log statements --- tarpc/src/macros.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tarpc/src/macros.rs b/tarpc/src/macros.rs index e7e9ba7..debb220 100644 --- a/tarpc/src/macros.rs +++ b/tarpc/src/macros.rs @@ -38,7 +38,7 @@ macro_rules! client_methods { if let __Reply::$fn_name(reply) = reply { ::std::result::Result::Ok(reply) } else { - panic!("Incorrect reply variant returned from protocol::Clientrpc; expected `{}`, \ + panic!("Incorrect reply variant returned from rpc; expected `{}`, \ but got {:?}", stringify!($fn_name), reply); @@ -79,8 +79,8 @@ macro_rules! async_client_methods { if let __Reply::$fn_name(reply) = reply { reply } else { - panic!("Incorrect reply variant returned from protocol::Clientrpc; expected \ - `{}`, but got {:?}", + panic!("Incorrect reply variant returned from rpc; expected `{}`, but got \ + {:?}", stringify!($fn_name), reply); }