Skip to content

Commit

Permalink
fix compile warnings (#298)
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Apr 6, 2022
1 parent ecb539a commit 9a06fe1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions git-repository/src/config.rs
Expand Up @@ -15,6 +15,8 @@ pub enum Error {
/// Utility type to keep pre-obtained configuration values.
#[derive(Debug, Clone)]
pub(crate) struct Cache {
// TODO: remove this once resolved is used without a feature dependency
#[cfg_attr(not(feature = "git-mailmap"), allow(dead_code))]
pub resolved: crate::Config,
/// The hex-length to assume when shortening object ids. If `None`, it should be computed based on the approximate object count.
pub hex_len: Option<usize>,
Expand Down

0 comments on commit 9a06fe1

Please sign in to comment.