it returns:

error: single-field tuple-structs can no longer be dereferenced
         (**self).iter()


On Jan 5, 2014, at 2:26 AM, Brendan Zabarauskas <notifications@github.com>
wrote:

In src/sax/lib.rs:

> @@ -114,7 +115,8 @@ impl Attributes {
>
>  impl ToStr for Attributes {
>      fn to_str(&self) -> ~str {
> -        self.iter().map(|att| {
> +        let Attributes(ref s) = *self;
> +        s.iter().map(|att| {

Couldn't this be (**self).iter().map(|att| {? Would remove the need for the
intermediate variable.

—
Reply to this email directly or view it on
GitHub<https://github.com/bjz/sax-rs/pull/7/files#r8654559>
.