We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ce27425 commit 6e61b54Copy full SHA for 6e61b54
src/document.rs
@@ -390,7 +390,7 @@ impl KdlDocument {
390
}
391
392
/// Takes a KDL v2 document string and returns the same document, but
393
- /// autoformatted into valid KDL v2 syntax.
+ /// autoformatted into valid KDL v1 syntax.
394
#[cfg(feature = "v1")]
395
pub fn v2_to_v1(s: &str) -> Result<String, KdlError> {
396
let mut doc = KdlDocument::parse_v2(s)?;
0 commit comments