Use Iterator::intersperse
in -e
argument parsing when Rust 1.64.0 is released
#2077
Labels
A-frontend
Area: Frontends for interpreters, like the `ruby` or `irb` binaries.
C-quality
Category: Refactoring, cleanup, and quality improvements.
S-blocked
Status: Marked as blocked ❌ on something else such as other implementation work.
This code manually joins a bunch of
-e
flags together:artichoke/src/ruby.rs
Lines 166 to 175 in 9f2d43c
Iterator::intersperse
will be stabilized in rust-lang/rust#99093. Combined with rust-lang/rust#82121, the code will be able to be rewritten to something like:The text was updated successfully, but these errors were encountered: