Fixup various places that were doing &T+'a and do &(T+'a)
This commit is contained in:
@@ -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,
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user