Skip to content

Commit

Permalink
grpc-sys: fix typo in build script error messsage.
Browse files Browse the repository at this point in the history
Signed-off-by: Steven Sloboda <ssloboda@starry.com>
  • Loading branch information
ssloboda committed Dec 29, 2020
1 parent 3465dde commit cc29ee2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion grpc-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -289,7 +289,7 @@ fn bindgen_grpc(file_path: &PathBuf, grpc_include_dir: &PathBuf) {
let mut file = fs::File::open(dent.path()).expect("couldn't open headers");
let mut buf = String::new();
file.read_to_string(&mut buf)
.expect("Coundn't read header content");
.expect("Couldn't read header content");
if buf.contains("GRPCAPI") || buf.contains("GPRAPI") {
headers.push(String::from(dent.path().to_str().unwrap()));
}
Expand Down

0 comments on commit cc29ee2

Please sign in to comment.