chore(docs): Documentation corrections (#41)
This commit is contained in:
committed by
Lucio Franco
parent
2c5c3a282a
commit
bd2b4e0b77
+2
-2
@@ -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"));
|
||||||
/// }
|
/// }
|
||||||
/// ```
|
/// ```
|
||||||
///
|
///
|
||||||
|
|||||||
Reference in New Issue
Block a user