about summary refs log tree commit diff
path: root/src/librustdoc
diff options
context:
space:
mode:
Diffstat (limited to 'src/librustdoc')
-rw-r--r--src/librustdoc/passes/collect_intra_doc_links.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/librustdoc/passes/collect_intra_doc_links.rs b/src/librustdoc/passes/collect_intra_doc_links.rs
index 811596505c1..783168d7bd6 100644
--- a/src/librustdoc/passes/collect_intra_doc_links.rs
+++ b/src/librustdoc/passes/collect_intra_doc_links.rs
@@ -340,7 +340,7 @@ impl<'a, 'tcx> DocFolder for LinkCollector<'a, 'tcx> {
             let parts = link.split('#').collect::<Vec<_>>();
             let (link, extra_fragment) = if parts.len() > 2 {
                 build_diagnostic(cx, &item, &link, &dox, link_range,
-                                 "has an anchor issue...",
+                                 "has an issue with the link anchor.",
                                  "only one `#` is allowed in a link",
                                  None);
                 continue;
@@ -625,7 +625,7 @@ fn resolution_failure(
     link_range: Option<Range<usize>>,
 ) {
     build_diagnostic(cx, item, path_str, dox, link_range,
-         "cannot be resolved, ignoring it...",
+         "cannot be resolved, ignoring it.",
          "cannot be resolved, ignoring",
          Some("to escape `[` and `]` characters, just add '\\' before them like `\\[` or `\\]`"));
 }
@@ -639,7 +639,7 @@ fn anchor_failure(
     msg: &str,
 ) {
     build_diagnostic(cx, item, path_str, dox, link_range,
-         "has an anchor issue...",
+         "has an issue with the link anchor.",
          msg,
          None);
 }