From df79da96614467e97a8f8ddd58106b456e44dee1 Mon Sep 17 00:00:00 2001 From: Philip Munksgaard Date: Wed, 10 Oct 2018 22:01:05 +0200 Subject: [PATCH] Fix typo in deprecated_impls The function is called `fn_def_with_doc`, not `fn_def_with`. --- src/test/rustdoc/deprecated-impls.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/rustdoc/deprecated-impls.rs b/src/test/rustdoc/deprecated-impls.rs index bcf0645766b3..3fb83bff9160 100644 --- a/src/test/rustdoc/deprecated-impls.rs +++ b/src/test/rustdoc/deprecated-impls.rs @@ -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'