Skip to content

Commit

Permalink
Fix typo in deprecated_impls
Browse files Browse the repository at this point in the history
The function is called `fn_def_with_doc`, not `fn_def_with`.
  • Loading branch information
Munksgaard committed Oct 10, 2018
1 parent 9dbe902 commit df79da9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/rustdoc/deprecated-impls.rs
Expand Up @@ -109,7 +109,7 @@ impl Bar for Foo2 {

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

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

0 comments on commit df79da9

Please sign in to comment.