• B
    Avoid cloning the file names vector · ca65c981
    Ben S 提交于
    By taking the file names as a mutable vector, we can avoid having to allocate a new one when it’s empty. The recent changes to Options::getopts have made it more obvious that we could move the same vector out of getopts’s matches, instead of cloning it there.
    ca65c981
main.rs 4.3 KB