Skip to content

Commit 875c287

Browse files
committed
Apply momo to fn gix::Remote::save_as_to
Signed-off-by: Jiahao XU <[email protected]>
1 parent 1d90301 commit 875c287

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gix/src/remote/save.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
use std::convert::TryInto;
22

3+
use gix_macros::momo;
4+
35
use crate::{
46
bstr::{BStr, BString},
57
config, remote, Remote,
@@ -111,6 +113,7 @@ impl Remote<'_> {
111113
/// If this name is different from the current one, the git configuration will still contain the previous name,
112114
/// and the caller should account for that.
113115
#[allow(clippy::result_large_err)]
116+
#[momo]
114117
pub fn save_as_to(
115118
&mut self,
116119
name: impl Into<BString>,

0 commit comments

Comments
 (0)