Skip to content

Commit

Permalink
apply review suggestions
Browse files Browse the repository at this point in the history
  • Loading branch information
WaffleLapkin committed Jul 25, 2022
1 parent 1c4c398 commit ed8c2c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/librustdoc/html/render/print_item.rs
Original file line number Diff line number Diff line change
Expand Up @@ -797,7 +797,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
if let Some(list) = must_implement_one_of_functions.as_deref() {
write!(
w,
"<div class=\"stab must_implement\">At least one of `{}` methods is required.</div>",
"<div class=\"stab must_implement\">At least one of the `{}` methods is required.</div>",
list.iter().join("`, `")
);
}
Expand Down
2 changes: 1 addition & 1 deletion src/test/rustdoc/must_implement_one_of.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@

#[rustc_must_implement_one_of(a, b)]
// @matches c/trait.Trait.html '//*[@class="stab must_implement"]' \
// 'At least one of `a`, `b` methods is required.$'
// 'At least one of the `a`, `b` methods is required.$'
pub trait Trait {
fn a() {}
fn b() {}
Expand Down

0 comments on commit ed8c2c2

Please sign in to comment.