mirror of https://github.com/kdl-org/kdl-rs.git
Fixes #46 When comparing two different `KdlNode` or `KdlDocument`, it's useful to have a "canonical" representation where formatting differences do not matter. `clear_fmt` removes all formatting from a `KdlNode`, but does not apply recursively, as a result, it doesn't create a canonical representation. `clear_fmt_recursive` solves this by applying `clear_fmt` recursively to the contents of the node. |
||
|---|---|---|
| .. | ||
| document.rs | ||
| entry.rs | ||
| error.rs | ||
| fmt.rs | ||
| identifier.rs | ||
| lib.rs | ||
| node.rs | ||
| nom_compat.rs | ||
| parser.rs | ||
| value.rs | ||