Skip to content

Commit ed8c2c2

Browse files
committed
apply review suggestions
1 parent 1c4c398 commit ed8c2c2

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/librustdoc/html/render/print_item.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -797,7 +797,7 @@ fn item_trait(w: &mut Buffer, cx: &mut Context<'_>, it: &clean::Item, t: &clean:
797797
if let Some(list) = must_implement_one_of_functions.as_deref() {
798798
write!(
799799
w,
800-
"<div class=\"stab must_implement\">At least one of `{}` methods is required.</div>",
800+
"<div class=\"stab must_implement\">At least one of the `{}` methods is required.</div>",
801801
list.iter().join("`, `")
802802
);
803803
}

src/test/rustdoc/must_implement_one_of.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
#[rustc_must_implement_one_of(a, b)]
55
// @matches c/trait.Trait.html '//*[@class="stab must_implement"]' \
6-
// 'At least one of `a`, `b` methods is required.$'
6+
// 'At least one of the `a`, `b` methods is required.$'
77
pub trait Trait {
88
fn a() {}
99
fn b() {}

0 commit comments

Comments
 (0)