Skip to content

Commit 59baedd

Browse files
committed
fix build
1 parent 1c012f4 commit 59baedd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-repository/src/config/cache/access.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ impl Cache {
4545
}
4646

4747
/// Returns a user agent for use with servers.
48+
#[cfg(any(feature = "async-network-client", feature = "blocking-network-client"))]
4849
pub(crate) fn user_agent_tuple(&self) -> (&'static str, Option<Cow<'static, str>>) {
4950
let agent = self
5051
.user_agent

0 commit comments

Comments
 (0)