From 875c28757e4a91cf314ec59dd1a0dde779698e53 Mon Sep 17 00:00:00 2001 From: Jiahao XU Date: Tue, 29 Aug 2023 23:18:54 +1000 Subject: [PATCH] Apply `momo` to fn `gix::Remote::save_as_to` Signed-off-by: Jiahao XU --- gix/src/remote/save.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/gix/src/remote/save.rs b/gix/src/remote/save.rs index a61df64c0d6..2a91dfa9c1d 100644 --- a/gix/src/remote/save.rs +++ b/gix/src/remote/save.rs @@ -1,5 +1,7 @@ use std::convert::TryInto; +use gix_macros::momo; + use crate::{ bstr::{BStr, BString}, config, remote, Remote, @@ -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,