about summary refs log tree commit diff
path: root/src/liballoc/string.rs
diff options
context:
space:
mode:
authorGuillaume Gomez <guillaume1.gomez@gmail.com>2018-07-01 18:51:39 +0200
committerGuillaume Gomez <guillaume1.gomez@gmail.com>2018-09-06 23:32:30 +0200
commitc1ad1b03388778893159c549db82b2716c71f102 (patch)
tree4b53ea3c0299cb78559a99a9f621cc11075df3ac /src/liballoc/string.rs
parent1b3382f2b9d1f6137f6415532a01faf55241c6dc (diff)
downloadrust-c1ad1b03388778893159c549db82b2716c71f102.tar.gz
rust-c1ad1b03388778893159c549db82b2716c71f102.zip
Fix invalid urls
Diffstat (limited to 'src/liballoc/string.rs')
-rw-r--r--src/liballoc/string.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/liballoc/string.rs b/src/liballoc/string.rs
index aa821abb34c..837e17cf640 100644
--- a/src/liballoc/string.rs
+++ b/src/liballoc/string.rs
@@ -1927,9 +1927,7 @@ impl<'a> Add<&'a str> for String {
 
 /// Implements the `+=` operator for appending to a `String`.
 ///
-/// This has the same behavior as the [`push_str`] method.
-///
-/// [`push_str`]: struct.String.html#method.push_str
+/// This has the same behavior as the [`push_str`][String::push_str] method.
 #[stable(feature = "stringaddassign", since = "1.12.0")]
 impl<'a> AddAssign<&'a str> for String {
     #[inline]