fix new clippy warnings

This commit is contained in:
Dustin J. Mitchell
2021-03-27 19:12:34 -04:00
parent 7ed2bf4441
commit c42cc3bdcb
2 changed files with 9 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
// Nested functions that always return Ok(..) are used as callbacks in a context where a Result is
// expected, so the unnecessary_wraps clippy lint is not useful here.
#![allow(clippy::unnecessary_wraps)]
/*!
This module is responsible for parsing command lines (`Arglist`, an alias for `&[&str]`) into `Command` instances.