File tree Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Expand file tree Collapse file tree 2 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -71,9 +71,7 @@ fn main() -> Result<()> {
71
71
}
72
72
73
73
match args. command {
74
- Some ( Subcommands :: Init ) => {
75
- return init:: init ( ) . context ( "Initialization failed" ) ;
76
- }
74
+ Some ( Subcommands :: Init ) => return init:: init ( ) . context ( "Initialization failed" ) ,
77
75
Some ( Subcommands :: Dev ( dev_command) ) => return dev_command. run ( ) ,
78
76
_ => ( ) ,
79
77
}
Original file line number Diff line number Diff line change @@ -153,8 +153,7 @@ pub fn clear_terminal(stdout: &mut StdoutLock) -> io::Result<()> {
153
153
pub fn press_enter_prompt ( stdout : & mut StdoutLock ) -> io:: Result < ( ) > {
154
154
stdout. flush ( ) ?;
155
155
io:: stdin ( ) . lock ( ) . read_until ( b'\n' , & mut Vec :: new ( ) ) ?;
156
- stdout. write_all ( b"\n " ) ?;
157
- Ok ( ( ) )
156
+ stdout. write_all ( b"\n " )
158
157
}
159
158
160
159
pub fn terminal_file_link < ' a > (
You can’t perform that action at this time.
0 commit comments