Skip to content

Commit

Permalink
assign more suitable types to mailmap keys
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Dec 10, 2023
1 parent 86c7fa1 commit 1bf3e88
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gix/src/config/tree/sections/mailmap.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ use crate::config::{

impl Mailmap {
/// The `mailmap.blob` key
pub const BLOB: keys::Any = keys::Any::new("blob", &Tree::MAILMAP);
pub const BLOB: keys::String = keys::String::new_string("blob", &Tree::MAILMAP);
/// The `mailmap.file` key
pub const FILE: keys::Any = keys::Any::new("file", &Tree::MAILMAP);
pub const FILE: keys::Path = keys::Path::new_path("file", &Tree::MAILMAP);
}

impl Section for Mailmap {
Expand Down

0 comments on commit 1bf3e88

Please sign in to comment.