Repository: tokio-rs/prost (language: rust)

Issue:
prost-build: Doc typo: "patch" should be "path"
https://github.com/tokio-rs/prost/blob/bb986cd78fd03b40f16845ab46865cd3be9a9f6c/prost-build/src/lib.rs#L369


Discussion / hints:

Fix patch:
diff --git a/prost-build/src/lib.rs b/prost-build/src/lib.rs
index 9607e4276..60888d06d 100644
--- a/prost-build/src/lib.rs
+++ b/prost-build/src/lib.rs
@@ -369,7 +369,7 @@ impl Config {
     ///
     /// # Arguments
     ///
-    /// **`path`** - a patch matching any number of fields. These fields get the attribute.
+    /// **`path`** - a path matching any number of fields. These fields get the attribute.
     /// For details about matching fields see [`btree_map`](#method.btree_map).
     ///
     /// **`attribute`** - an arbitrary string that'll be placed before each matched field. The


Test patch: