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