about summary refs log tree commit diff
diff options
context:
space:
mode:
authorYuki Okushi <huyuumi.dev@gmail.com>2020-12-30 18:15:13 +0900
committerGitHub <noreply@github.com>2020-12-30 18:15:13 +0900
commitd8cabe1855309304e6f9be657c615810ff0c0cbb (patch)
treea844e41e70d76a7536fdab7bce40a8595b58a073
parent6064be7ced9e56a8b10cb33c4183b07a6f55965d (diff)
parent8d5dc8c2f07e1bbb12a900f3a9c9df11070e60d5 (diff)
downloadrust-d8cabe1855309304e6f9be657c615810ff0c0cbb.tar.gz
rust-d8cabe1855309304e6f9be657c615810ff0c0cbb.zip
Rollup merge of #80457 - camelid:pretty-docs-commas, r=jonas-schievink
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);
 //! ```