summaryrefslogtreecommitdiff
path: root/libc/libc-test/test/main.rs
diff options
context:
space:
mode:
authorDaniel Mueller <deso@posteo.net>2019-02-08 18:13:28 -0800
committerDaniel Mueller <deso@posteo.net>2019-02-08 18:13:28 -0800
commit41f352bff4d7cb221d009b1bfc7f0664bea9b348 (patch)
tree4587b2d903a2733bb1c04d67e2caf64b8704b34a /libc/libc-test/test/main.rs
parentd8477e9f1f8d687f7e8cecd3abf634304a6b351f (diff)
downloadnitrocli-41f352bff4d7cb221d009b1bfc7f0664bea9b348.tar.gz
nitrocli-41f352bff4d7cb221d009b1bfc7f0664bea9b348.tar.bz2
Consume ArgumentParser object as part of parsing
We have introduced the parse function to unify the common parsing related tasks. In that vein, this change goes one step further and adjusts the function to actually consume the ArgumentParser object used by it. All clients using this function actually do not access the parser afterwards, and, in fact, some of them have to explicitly drop it because of borrow conflicts with "referred" arguments.
Diffstat (limited to 'libc/libc-test/test/main.rs')
0 files changed, 0 insertions, 0 deletions