incorporate changes from mark's review
//!
//! ```md
//! @rustbot note summary-title
-//!
-//! ...details details details...
//! ```
//!
//! If this is the first summary entry, rustbot will amend the original post (the top-level comment) to add a "Notes" section. The section should **not** be edited by hand.
//!
//! - ["summary-title" by @username](link-to-comment)
//!
+//! Generated by triagebot, see [help](https://github.com/rust-lang/triagebot/wiki/Note) for how to add more
//! <!-- TRIAGEBOT_SUMMARY_END -->
//! ```
//!
@@ -50,9 +49,9 @@ impl NoteDataEntry {
pub fn to_markdown(&self) -> String {
format!(
"\n- [\"{title}\" by @{author}]({comment_url})",
- title = self.title.to_owned(),
- author = self.author.to_owned(),
- comment_url = self.comment_url.to_owned()
+ title = self.title,
+ author = self.author,
+ comment_url = self.comment_url
)
}
}
