chore(docs): Documentation corrections (#41)

This commit is contained in:
John Doneth
2019-10-04 16:44:43 -04:00
committed by Lucio Franco
parent 2c5c3a282a
commit bd2b4e0b77
+2 -2
View File
@@ -4,7 +4,7 @@
/// ///
/// ```rust,ignore /// ```rust,ignore
/// mod pb { /// 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. /// You can also use a custom environment variable using the following pattern.
/// ```rust,ignore /// ```rust,ignore
/// mod pb { /// mod pb {
/// include!(concat!(env!("PROTOBUFS"), concat!("/helloworld.rs"))); /// include!(concat!(env!("PROTOBUFS"), "/helloworld.rs"));
/// } /// }
/// ``` /// ```
/// ///