mirror of
https://github.com/pezkuwichain/serde.git
synced 2026-04-23 01:18:02 +00:00
Use push_str to support old compilers
This commit is contained in:
@@ -25,8 +25,8 @@ impl Ctxt {
|
||||
n => {
|
||||
let mut msg = format!("{} errors:", n);
|
||||
for err in errors {
|
||||
msg += "\n\t# ";
|
||||
msg += &err;
|
||||
msg.push_str("\n\t# ");
|
||||
msg.push_str(&err);
|
||||
}
|
||||
Err(msg)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user