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:
parent
8f18ea8b72
commit
ab10b1ed29
@ -91,7 +91,7 @@ fn to_str(&self) -> ~str {
|
||||
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 @@ fn to_str(&self) -> ~str {
|
||||
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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user