Skip to content

Commit 1bf3e88

Browse files
committed
assign more suitable types to mailmap keys
1 parent 86c7fa1 commit 1bf3e88

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gix/src/config/tree/sections/mailmap.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ use crate::config::{
55

66
impl Mailmap {
77
/// The `mailmap.blob` key
8-
pub const BLOB: keys::Any = keys::Any::new("blob", &Tree::MAILMAP);
8+
pub const BLOB: keys::String = keys::String::new_string("blob", &Tree::MAILMAP);
99
/// The `mailmap.file` key
10-
pub const FILE: keys::Any = keys::Any::new("file", &Tree::MAILMAP);
10+
pub const FILE: keys::Path = keys::Path::new_path("file", &Tree::MAILMAP);
1111
}
1212

1313
impl Section for Mailmap {

0 commit comments

Comments
 (0)