Add some doc examples (#9)
* doc examples for tonic::Streaming * from http doc * more docs * use same export pattern * interceptor doc WIP * remove unfinished doc examples * recommended changes * remove unnecessary prost refs
This commit is contained in:
committed by
Lucio Franco
parent
25e4dcc5d9
commit
646796f248
@@ -67,7 +67,6 @@ impl Builder {
|
||||
}
|
||||
|
||||
/// Compile the .proto files and execute code generation.
|
||||
#[cfg_attr(not(feature = "rustfmt"), allow(unused_variables))]
|
||||
pub fn compile<P: AsRef<Path>>(self, protos: &[P], includes: &[P]) -> io::Result<()> {
|
||||
let mut config = Config::new();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user