Skip to content

Commit

Permalink
fix build warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 13, 2022
1 parent 1b53efb commit 32b1ba9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
5 changes: 3 additions & 2 deletions git-repository/src/config/cache/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ impl std::fmt::Debug for Cache {

mod access;

mod util;
pub(crate) use util::{check_lenient, check_lenient_default, interpolate_context};
pub(crate) mod util;

pub(crate) use util::interpolate_context;
2 changes: 1 addition & 1 deletion git-repository/src/repository/config/transport.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
use crate::bstr::BStr;
use crate::config::cache::{check_lenient, check_lenient_default};
use std::any::Any;

impl crate::Repository {
Expand All @@ -24,6 +23,7 @@ impl crate::Repository {
#[cfg(feature = "blocking-http-transport")]
{
use crate::bstr::ByteVec;
use crate::config::cache::util::{check_lenient, check_lenient_default};
use git_transport::client::http;
use std::borrow::Cow;
use std::convert::{TryFrom, TryInto};
Expand Down

0 comments on commit 32b1ba9

Please sign in to comment.