Skip to content

Commit 4e733a4

Browse files
committed
hkd32: Fix docs typo
1 parent db57b04 commit 4e733a4

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

hkd32/src/lib.rs

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,12 @@
1313
//! - `hkd32::KeyMaterial`: a 32-byte (256-bit) uniformly random value
1414
//! - `hkd32::Path` or `hkd32::PathBuf`: path to the child key
1515
//!
16-
//! Derivation paths can be raw bytestrings but also support
16+
//! Derivation paths can be raw bytestrings but also support a Unix path-like
17+
//! syntax which can be parsed using the `String::parse` method:
18+
//!
19+
//! ```rust
20+
//! let path = "/foo/bar/baz".parse::<hkd32::PathBuf>().unwrap();
21+
//! ```
1722
//!
1823
//! # Example
1924
//!

0 commit comments

Comments
 (0)