Skip to content

Commit 6e61b54

Browse files
authored
docs: Fix version number in KdlDocument::v2_to_v1 (#122)
1 parent ce27425 commit 6e61b54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/document.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ impl KdlDocument {
390390
}
391391

392392
/// Takes a KDL v2 document string and returns the same document, but
393-
/// autoformatted into valid KDL v2 syntax.
393+
/// autoformatted into valid KDL v1 syntax.
394394
#[cfg(feature = "v1")]
395395
pub fn v2_to_v1(s: &str) -> Result<String, KdlError> {
396396
let mut doc = KdlDocument::parse_v2(s)?;

0 commit comments

Comments
 (0)