Skip to content

Commit

Permalink
adapt to changes in git-transport
Browse files Browse the repository at this point in the history
  • Loading branch information
Byron committed Nov 11, 2022
1 parent fe2042b commit 226f33a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions git-protocol/src/fetch/tests/arguments.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ struct Transport<T> {

#[cfg(feature = "blocking-client")]
mod impls {
use bstr::BString;
use git_transport::{
client,
client::{Error, MessageKind, RequestWriter, SetServiceResponse, WriteMode},
Expand All @@ -35,7 +36,7 @@ mod impls {
self.inner.request(write_mode, on_into_read)
}

fn to_url(&self) -> String {
fn to_url(&self) -> BString {
self.inner.to_url()
}

Expand Down Expand Up @@ -69,6 +70,7 @@ mod impls {
#[cfg(feature = "async-client")]
mod impls {
use async_trait::async_trait;
use bstr::BString;
use git_transport::{
client,
client::{Error, MessageKind, RequestWriter, SetServiceResponse, WriteMode},
Expand All @@ -85,7 +87,7 @@ mod impls {
self.inner.request(write_mode, on_into_read)
}

fn to_url(&self) -> String {
fn to_url(&self) -> BString {
self.inner.to_url()
}

Expand Down

0 comments on commit 226f33a

Please sign in to comment.