mirror of https://github.com/kdl-org/kdl-rs.git
cargo fmt
This commit is contained in:
parent
f37f77abed
commit
992e3292d5
|
|
@ -625,9 +625,7 @@ impl KdlNode {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if idx > current_idx {
|
if idx > current_idx {
|
||||||
panic!(
|
panic!("Insertion index (is {idx}) should be <= len (is {current_idx})");
|
||||||
"Insertion index (is {idx}) should be <= len (is {current_idx})"
|
|
||||||
);
|
|
||||||
} else {
|
} else {
|
||||||
self.entries.push(entry);
|
self.entries.push(entry);
|
||||||
None
|
None
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue