Skip to content

Commit

Permalink
fix case on type attribute in prost-build documentation (#668)
Browse files Browse the repository at this point in the history
Co-authored-by: Lucio Franco <[email protected]>
  • Loading branch information
zkrzyzanowski and LucioFranco authored Jun 20, 2022
1 parent 3abca38 commit b1c57cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions prost-build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -445,9 +445,9 @@ impl Config {
/// config.type_attribute(".", "#[derive(Eq)]");
/// // Some messages want to be serializable with serde as well.
/// config.type_attribute("my_messages.MyMessageType",
/// "#[derive(Serialize)] #[serde(rename-all = \"snake_case\")]");
/// "#[derive(Serialize)] #[serde(rename_all = \"snake_case\")]");
/// config.type_attribute("my_messages.MyMessageType.MyNestedMessageType",
/// "#[derive(Serialize)] #[serde(rename-all = \"snake_case\")]");
/// "#[derive(Serialize)] #[serde(rename_all = \"snake_case\")]");
/// ```
///
/// # Oneof fields
Expand Down

0 comments on commit b1c57cd

Please sign in to comment.