Skip to content

Commit

Permalink
prost-build lib.rs: Minor doc comment edits (#498)
Browse files Browse the repository at this point in the history
Fix the indentation of the example .proto file. Fix build.rs compile error.
Fixes:

error[E0107]: wrong number of type arguments: expected 2, found 1

Co-authored-by: Evan Jones <ej@evanjones.ca>
  • Loading branch information
LucioFranco and evanj committed Jul 6, 2021
1 parent d8cb390 commit fdc319c
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions prost-build/src/lib.rs
Expand Up @@ -36,14 +36,14 @@
//!
//! // A snazzy new shirt!
//! message Shirt {
//! enum Size {
//! SMALL = 0;
//! MEDIUM = 1;
//! LARGE = 2;
//! }
//! enum Size {
//! SMALL = 0;
//! MEDIUM = 1;
//! LARGE = 2;
//! }
//!
//! string color = 1;
//! Size size = 2;
//! string color = 1;
//! Size size = 2;
//! }
//! ```
//!
Expand Down

0 comments on commit fdc319c

Please sign in to comment.