Skip to content

Commit

Permalink
Apply momo to fn gix::Remote::save_as_to
Browse files Browse the repository at this point in the history
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
  • Loading branch information
NobodyXu committed Aug 29, 2023
1 parent 1d90301 commit 875c287
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gix/src/remote/save.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
use std::convert::TryInto;

use gix_macros::momo;

use crate::{
bstr::{BStr, BString},
config, remote, Remote,
Expand Down Expand Up @@ -111,6 +113,7 @@ impl Remote<'_> {
/// If this name is different from the current one, the git configuration will still contain the previous name,
/// and the caller should account for that.
#[allow(clippy::result_large_err)]
#[momo]
pub fn save_as_to(
&mut self,
name: impl Into<BString>,
Expand Down

0 comments on commit 875c287

Please sign in to comment.