about summary refs log tree commit diff
path: root/compiler/rustc_trait_selection/src/traits
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2024-01-24 00:08:43 +0100
committerest31 <MTest31@outlook.com>2024-01-24 00:41:45 +0100
commit9676e188683da0dbde7e3798e47703e072cbb589 (patch)
tree36d6286ec0a2e2e8ed6eaf9bd9d20049f077fcf3 /compiler/rustc_trait_selection/src/traits
parent5d3d3479d774754856db2db3e439dfb88ef3c52f (diff)
downloadrust-9676e188683da0dbde7e3798e47703e072cbb589.tar.gz
rust-9676e188683da0dbde7e3798e47703e072cbb589.zip
Remove extra # from url
Diffstat (limited to 'compiler/rustc_trait_selection/src/traits')
-rw-r--r--compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs b/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
index e31aaaa1969..f3b04b55a35 100644
--- a/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
+++ b/compiler/rustc_trait_selection/src/traits/error_reporting/suggestions.rs
@@ -3155,7 +3155,7 @@ impl<'tcx> TypeErrCtxtExt<'tcx> for TypeErrCtxt<'_, 'tcx> {
                 } else {
                     // FIXME: we may suggest array::repeat instead
                     err.help("consider using `core::array::from_fn` to initialize the array");
-                    err.help("see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html# for more information");
+                    err.help("see https://doc.rust-lang.org/stable/std/array/fn.from_fn.html for more information");
                 }
 
                 if self.tcx.sess.is_nightly_build()