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")); /// } /// ``` ///