Skip to content

Commit

Permalink
libstd: fix comment in to_str impl of tuple
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
artagnon committed Jun 6, 2013
1 parent 8f18ea8 commit ab10b1e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/libstd/to_str.rs
Expand Up @@ -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) => {
Expand All @@ -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) => {
Expand Down

0 comments on commit ab10b1e

Please sign in to comment.