@@ -98,10 +98,10 @@ impl CaptureSubcommand {
9898 match self {
9999 Self :: Init => self . handle_init ( os, session) . await ,
100100 Self :: Restore { ref tag, hard } => self . handle_restore ( session, tag. clone ( ) , hard) . await ,
101- Self :: List { limit } => self . handle_list ( session, limit) ,
101+ Self :: List { limit } => Self :: handle_list ( session, limit) ,
102102 Self :: Clean => self . handle_clean ( os, session) . await ,
103- Self :: Expand { ref tag } => self . handle_expand ( session, tag. clone ( ) ) ,
104- Self :: Diff { ref tag1, ref tag2 } => self . handle_diff ( session, tag1. clone ( ) , tag2. clone ( ) ) ,
103+ Self :: Expand { ref tag } => Self :: handle_expand ( session, tag. clone ( ) ) ,
104+ Self :: Diff { ref tag1, ref tag2 } => Self :: handle_diff ( session, tag1. clone ( ) , tag2. clone ( ) ) ,
105105 }
106106 }
107107
@@ -215,7 +215,7 @@ impl CaptureSubcommand {
215215 } )
216216 }
217217
218- fn handle_list ( & self , session : & mut ChatSession , limit : Option < usize > ) -> Result < ChatState , ChatError > {
218+ fn handle_list ( session : & mut ChatSession , limit : Option < usize > ) -> Result < ChatState , ChatError > {
219219 let Some ( manager) = session. conversation . capture_manager . as_ref ( ) else {
220220 execute ! (
221221 session. stderr,
@@ -275,7 +275,7 @@ impl CaptureSubcommand {
275275 } )
276276 }
277277
278- fn handle_expand ( & self , session : & mut ChatSession , tag : String ) -> Result < ChatState , ChatError > {
278+ fn handle_expand ( session : & mut ChatSession , tag : String ) -> Result < ChatState , ChatError > {
279279 let Some ( manager) = session. conversation . capture_manager . as_ref ( ) else {
280280 execute ! (
281281 session. stderr,
@@ -296,12 +296,7 @@ impl CaptureSubcommand {
296296 } )
297297 }
298298
299- fn handle_diff (
300- & self ,
301- session : & mut ChatSession ,
302- tag1 : String ,
303- tag2 : Option < String > ,
304- ) -> Result < ChatState , ChatError > {
299+ fn handle_diff ( session : & mut ChatSession , tag1 : String , tag2 : Option < String > ) -> Result < ChatState , ChatError > {
305300 let Some ( manager) = session. conversation . capture_manager . as_ref ( ) else {
306301 execute ! (
307302 session. stderr,
0 commit comments