Separate Expander implementation and remove the newtype for flow_control
Since the block were accessed directly almost everywhere, there was no need for a newtype pattern. It also is not a user-facing datastructure, so no encapsulation is really needed
Showing
- src/lib/shell/binary/prompt.rs 1 addition, 1 deletionsrc/lib/shell/binary/prompt.rs
- src/lib/shell/binary/readln.rs 2 additions, 5 deletionssrc/lib/shell/binary/readln.rs
- src/lib/shell/flow.rs 2 additions, 2 deletionssrc/lib/shell/flow.rs
- src/lib/shell/flow_control.rs 35 additions, 56 deletionssrc/lib/shell/flow_control.rs
- src/lib/shell/mod.rs 33 additions, 193 deletionssrc/lib/shell/mod.rs
- src/lib/shell/shell_expand.rs 189 additions, 0 deletionssrc/lib/shell/shell_expand.rs
Loading
Please register or sign in to comment