diff options
| author | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-06-06 20:44:30 +0530 |
|---|---|---|
| committer | Ramkumar Ramachandra <artagnon@gmail.com> | 2013-06-06 20:50:29 +0530 |
| commit | ab10b1ed292be48ac4d4cbe31da811035d284e85 (patch) | |
| tree | 4babe67f37cb32b28279959cc7addce865cc0fd4 | |
| parent | 8f18ea8b72efc3d0a92d99d064f765fd13d3a507 (diff) | |
| download | rust-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.rs | 4 |
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) => { |
