From bd2b4e0b7746330a630d60bf54cca6320465688c Mon Sep 17 00:00:00 2001 From: John Doneth Date: Fri, 4 Oct 2019 16:44:43 -0400 Subject: [PATCH] chore(docs): Documentation corrections (#41) --- tonic/src/macros.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tonic/src/macros.rs b/tonic/src/macros.rs index 828e70e..aaea75f 100644 --- a/tonic/src/macros.rs +++ b/tonic/src/macros.rs @@ -4,7 +4,7 @@ /// /// ```rust,ignore /// mod pb { -/// tonic::include_proto("helloworld"); +/// tonic::include_proto!("helloworld"); /// } /// ``` /// @@ -22,7 +22,7 @@ /// You can also use a custom environment variable using the following pattern. /// ```rust,ignore /// mod pb { -/// include!(concat!(env!("PROTOBUFS"), concat!("/helloworld.rs"))); +/// include!(concat!(env!("PROTOBUFS"), "/helloworld.rs")); /// } /// ``` ///