about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2015-03-01 09:50:18 +0530
committerManish Goregaokar <manishsmail@gmail.com>2015-03-01 09:50:18 +0530
commit4e34daf2c44a03ceb297d3bbb50af99a05cb129e (patch)
treed61705664ac7e7f56ae1084c35640a7a7f62d25d /src
parent4495bdb52c58e8653861650b5c4b1fd79595c51f (diff)
parent000e9768198c8f82f625215be36e25ffce470a6a (diff)
downloadrust-4e34daf2c44a03ceb297d3bbb50af99a05cb129e.tar.gz
rust-4e34daf2c44a03ceb297d3bbb50af99a05cb129e.zip
Rollup merge of #22908 - mdinger:fix_link, r=Gankro
 The markdown listing the link in [StrExt::width](http://doc.rust-lang.org/std/str/trait.StrExt.html#tymethod.width) isn't being parsed properly. I'm expecting it's because the `[ ]` is across 2 lines so this changes that. This is untested though.
Diffstat (limited to 'src')
-rw-r--r--src/libcollections/str.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libcollections/str.rs b/src/libcollections/str.rs
index c58cca828d8..86fcac3e4b8 100644
--- a/src/libcollections/str.rs
+++ b/src/libcollections/str.rs
@@ -1455,9 +1455,9 @@ pub trait StrExt: Index<RangeFull, Output = str> {
     ///
     /// `is_cjk` determines behavior for characters in the Ambiguous category: if `is_cjk` is
     /// `true`, these are 2 columns wide; otherwise, they are 1. In CJK locales, `is_cjk` should be
-    /// `true`, else it should be `false`. [Unicode Standard Annex
-    /// #11](http://www.unicode.org/reports/tr11/) recommends that these characters be treated as 1
-    /// column (i.e., `is_cjk` = `false`) if the locale is unknown.
+    /// `true`, else it should be `false`.
+    /// [Unicode Standard Annex #11](http://www.unicode.org/reports/tr11/) recommends that these
+    /// characters be treated as 1 column (i.e., `is_cjk = false`) if the locale is unknown.
     #[unstable(feature = "collections",
                reason = "this functionality may only be provided by libunicode")]
     fn width(&self, is_cjk: bool) -> usize {