diff --git a/flake.lock b/flake.lock index 6dab5e7..6944b48 100644 --- a/flake.lock +++ b/flake.lock @@ -20,11 +20,11 @@ }, "nixpkgs": { "locked": { - "lastModified": 1754725699, - "narHash": "sha256-iAcj9T/Y+3DBy2J0N+yF9XQQQ8IEb5swLFzs23CdP88=", + "lastModified": 1759831965, + "narHash": "sha256-vgPm2xjOmKdZ0xKA6yLXPJpjOtQPHfaZDRtH+47XEBo=", "owner": "nixos", "repo": "nixpkgs", - "rev": "85dbfc7aaf52ecb755f87e577ddbe6dbbdbc1054", + "rev": "c9b6fb798541223bbb396d287d16f43520250518", "type": "github" }, "original": { @@ -62,11 +62,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1755052812, - "narHash": "sha256-Tjw2YP7Hz8+ibE8wJ+Ps65vh1lzAe5ozmoo9sdQ7rGg=", + "lastModified": 1759890791, + "narHash": "sha256-KN1xkrQ4x6u8plgg43ZiYbQmESxeCKKOzALKjqbn4LM=", "owner": "oxalica", "repo": "rust-overlay", - "rev": "433023cba5f4fa66b8b0fdbb8f91d420c9cc2527", + "rev": "74fcbc183aa6685f86008606bb7824bf2f40adbd", "type": "github" }, "original": { diff --git a/lib/src/traits.rs b/lib/src/traits.rs index 14a1cbf..ac97b06 100644 --- a/lib/src/traits.rs +++ b/lib/src/traits.rs @@ -7,7 +7,7 @@ pub trait TomlExample { fn toml_example() -> String; /// structure, which is nesting or flatten inside other structure, to a toml example - /// There will be a section `{label_format.0}{label}{lable_format.1}` for the example of struct, and `prefix` will add `# ` if it is a optional. + /// There will be a section `{label_format.0}{label}{label_format.1}` for the example of struct, and `prefix` will add `# ` if it is a optional. fn toml_example_with_prefix(label: &str, label_format: (&str, &str), prefix: &str) -> String; fn to_toml_example>(file_name: P) -> std::io::Result<()> {