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>
This commit is contained in:
Ramkumar Ramachandra 2013-06-06 20:44:30 +05:30
parent 8f18ea8b72
commit ab10b1ed29
1 changed files with 2 additions and 2 deletions

View File

@ -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) => {