about summary refs log tree commit diff
diff options
context:
space:
mode:
authorPhilip Munksgaard <pmunksgaard@gmail.com>2018-10-10 22:01:05 +0200
committerPhilip Munksgaard <pmunksgaard@gmail.com>2018-10-10 22:01:05 +0200
commitdf79da96614467e97a8f8ddd58106b456e44dee1 (patch)
tree91d16f9deab95a66d906d123dad72e9c40846a9b
parent9dbe902800d5ba87b08b15adb157adbe9be02e75 (diff)
downloadrust-df79da96614467e97a8f8ddd58106b456e44dee1.tar.gz
rust-df79da96614467e97a8f8ddd58106b456e44dee1.zip
Fix typo in deprecated_impls
The function is called `fn_def_with_doc`, not `fn_def_with`.
-rw-r--r--src/test/rustdoc/deprecated-impls.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/rustdoc/deprecated-impls.rs b/src/test/rustdoc/deprecated-impls.rs
index bcf0645766b..3fb83bff916 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'