Fixup various places that were doing &T+'a and do &(T+'a)

This commit is contained in:
Niko Matsakis
2014-11-20 15:08:02 -05:00
parent 74a1041a4d
commit f4e29e7e9a
37 changed files with 56 additions and 56 deletions

View File

@@ -398,7 +398,7 @@ fn fmt_number_or_null(v: f64) -> string::String {
/// A structure for implementing serialization to JSON.
pub struct Encoder<'a> {
writer: &'a mut io::Writer+'a,
writer: &'a mut (io::Writer+'a),
}
impl<'a> Encoder<'a> {
@@ -602,7 +602,7 @@ impl<'a> ::Encoder<io::IoError> for Encoder<'a> {
/// Another encoder for JSON, but prints out human-readable JSON instead of
/// compact data
pub struct PrettyEncoder<'a> {
writer: &'a mut io::Writer+'a,
writer: &'a mut (io::Writer+'a),
curr_indent: uint,
indent: uint,
}