From 344f4d3fcd7d36e67ca04dd2e3e21f0e8b12b0dd Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Sun, 2 Aug 2020 05:30:03 +0200 Subject: git-sugpatch: Move the suggestion arguments loop to a new function Split this out into a separate function because I want to reuse it in `git-sugapply`. --- src/lib.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 0a8ab13..e2ac7ea 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -6,6 +6,7 @@ pub mod error; pub(crate) mod owner_repo; mod arg; +mod suggestion; -pub use arg::is_suggestion_id; +pub use suggestion::for_suggestion; -- cgit v1.2.3