Skip to content

Commit df79da9

Browse files
committed
Fix typo in deprecated_impls
The function is called `fn_def_with_doc`, not `fn_def_with`.
1 parent 9dbe902 commit df79da9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/rustdoc/deprecated-impls.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ impl Bar for Foo2 {
109109

110110
// @has - '//*[@class="stab deprecated"]' 'Deprecated since 1.0.5: fn_def_with_doc'
111111
// @has - 'fn_def_with_doc short'
112-
// @!has - 'fn_def_with full'
112+
// @!has - 'fn_def_with_doc full'
113113
fn fn_def_with_doc() {}
114114

115115
// @has - '//*[@class="stab deprecated"]' 'Deprecated since 1.0.6: fn_def_without_doc'

0 commit comments

Comments
 (0)