Skip to content

Commit

Permalink
Fix typo in PushOptions docs (#846)
Browse files Browse the repository at this point in the history
  • Loading branch information
koenw committed Jun 1, 2022
1 parent fe71885 commit fe55127
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/remote.rs
Original file line number Diff line number Diff line change
Expand Up @@ -608,13 +608,13 @@ impl<'cb> PushOptions<'cb> {
}
}

/// Set the callbacks to use for the fetch operation.
/// Set the callbacks to use for the push operation.
pub fn remote_callbacks(&mut self, cbs: RemoteCallbacks<'cb>) -> &mut Self {
self.callbacks = Some(cbs);
self
}

/// Set the proxy options to use for the fetch operation.
/// Set the proxy options to use for the push operation.
pub fn proxy_options(&mut self, opts: ProxyOptions<'cb>) -> &mut Self {
self.proxy = Some(opts);
self
Expand Down

0 comments on commit fe55127

Please sign in to comment.