about summary refs log tree commit diff
diff options
context:
space:
mode:
authorCamelid <camelidcamel@gmail.com>2020-12-28 14:23:20 -0800
committerGitHub <noreply@github.com>2020-12-28 14:23:20 -0800
commit8d5dc8c2f07e1bbb12a900f3a9c9df11070e60d5 (patch)
tree0b18341630c897de099afb9246622cd6a5225585
parent257becbfe4987d1f7b12af5a8dd5ed96697cd2e8 (diff)
downloadrust-8d5dc8c2f07e1bbb12a900f3a9c9df11070e60d5.tar.gz
rust-8d5dc8c2f07e1bbb12a900f3a9c9df11070e60d5.zip
Add missing commas to `rustc_ast_pretty::pp` docs
-rw-r--r--compiler/rustc_ast_pretty/src/pp.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/compiler/rustc_ast_pretty/src/pp.rs b/compiler/rustc_ast_pretty/src/pp.rs
index 56e769ba6b7..ea298d28e72 100644
--- a/compiler/rustc_ast_pretty/src/pp.rs
+++ b/compiler/rustc_ast_pretty/src/pp.rs
@@ -75,7 +75,7 @@
 //! breaking inconsistently to become
 //!
 //! ```
-//! foo(hello, there
+//! foo(hello, there,
 //!     good, friends);
 //! ```
 //!
@@ -83,7 +83,7 @@
 //!
 //! ```
 //! foo(hello,
-//!     there
+//!     there,
 //!     good,
 //!     friends);
 //! ```