Skip to content

Commit ab10b1e

Browse files
committed
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>
1 parent 8f18ea8 commit ab10b1e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/libstd/to_str.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ impl<A:ToStr+Hash+Eq> ToStr for HashSet<A> {
9191
impl<A:ToStr,B:ToStr> ToStr for (A, B) {
9292
#[inline(always)]
9393
fn to_str(&self) -> ~str {
94-
// FIXME(#4760): this causes an llvm assertion
94+
// FIXME(#4653): this causes an llvm assertion
9595
//let &(ref a, ref b) = self;
9696
match *self {
9797
(ref a, ref b) => {
@@ -104,7 +104,7 @@ impl<A:ToStr,B:ToStr> ToStr for (A, B) {
104104
impl<A:ToStr,B:ToStr,C:ToStr> ToStr for (A, B, C) {
105105
#[inline(always)]
106106
fn to_str(&self) -> ~str {
107-
// FIXME(#4760): this causes an llvm assertion
107+
// FIXME(#4653): this causes an llvm assertion
108108
//let &(ref a, ref b, ref c) = self;
109109
match *self {
110110
(ref a, ref b, ref c) => {

0 commit comments

Comments
 (0)