fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        try!(write!(f, "{{"));

        for (i, (k, v)) in self.map.iter().rev().enumerate() {
            if i != 0 { try!(write!(f, ", ")); }
            try!(write!(f, "{:?}: {:?}", *k, *v));
        }

        write!(f, "}}")
    }
/// Return a string that lists the key-value pairs from most-recently
/// used to least-recently used.
Return a string that lists the key-value pairs from most-recently
used to least-recently used.
Return a string that lists the key - value pairs from most - recently used to least - recently used .
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
        try!(write!(f, "{{"));
        for (i, (k, v)) in self.map.iter().rev().enumerate() {
            if i != 0 { try!(write!(f, ", ")); }
            try!(write!(f, "{:?}: {:?}", *k, *v));
        }
        write!(f, "}}")
    }
fn fmt ( & self , f : & mut fmt :: Formatter ) -> fmt :: Result { try ! ( write ( f " " ) ) ; for ( i , ( k , v ) ) in self . map . iter ( ) . rev ( ) . enumerate ( ) { if i != 0 { try ! ( write ( f " " ) ) ; } try ! ( write ( f " " k v ) ) ; } write ! ( f " " ) }
Return a string that lists the key-value pairs from most-recently
used to least-recently used.
Return a string that lists the key - value pairs from most - recently used to least - recently used .
&self
f
&mut fmt::Formatter
&self
f
&mut fmt::Formatter