about summary refs log tree commit diff
diff options
context:
space:
mode:
authorRamkumar Ramachandra <artagnon@gmail.com>2013-06-06 20:44:30 +0530
committerRamkumar Ramachandra <artagnon@gmail.com>2013-06-06 20:50:29 +0530
commitab10b1ed292be48ac4d4cbe31da811035d284e85 (patch)
tree4babe67f37cb32b28279959cc7addce865cc0fd4
parent8f18ea8b72efc3d0a92d99d064f765fd13d3a507 (diff)
downloadrust-ab10b1ed292be48ac4d4cbe31da811035d284e85.tar.gz
rust-ab10b1ed292be48ac4d4cbe31da811035d284e85.zip
libstd: fix comment in to_str impl of tuple
There is a pointer to #4760, which is a closed issue.  The real issue is
the more general problem described in #4653.  Correct the comment.

Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
-rw-r--r--src/libstd/to_str.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libstd/to_str.rs b/src/libstd/to_str.rs
index 3cc64147964..d15c0a31f5f 100644
--- a/src/libstd/to_str.rs
+++ b/src/libstd/to_str.rs
@@ -91,7 +91,7 @@ impl<A:ToStr+Hash+Eq> ToStr for HashSet<A> {
 impl<A:ToStr,B:ToStr> ToStr for (A, B) {
     #[inline(always)]
     fn to_str(&self) -> ~str {
-        // FIXME(#4760): this causes an llvm assertion
+        // FIXME(#4653): this causes an llvm assertion
         //let &(ref a, ref b) = self;
         match *self {
             (ref a, ref b) => {
@@ -104,7 +104,7 @@ impl<A:ToStr,B:ToStr> ToStr for (A, B) {
 impl<A:ToStr,B:ToStr,C:ToStr> ToStr for (A, B, C) {
     #[inline(always)]
     fn to_str(&self) -> ~str {
-        // FIXME(#4760): this causes an llvm assertion
+        // FIXME(#4653): this causes an llvm assertion
         //let &(ref a, ref b, ref c) = self;
         match *self {
             (ref a, ref b, ref c) => {