mirror of
https://github.com/uutils/uucore.git
synced 2026-06-10 15:48:52 -07:00
Fix a few clippy warnings
This commit is contained in:
+1
-1
@@ -18,7 +18,7 @@ impl<'a> CoreOptions<'a> {
|
||||
pub fn new(help_text: HelpText<'a>) -> Self {
|
||||
let mut ret = CoreOptions {
|
||||
options: getopts::Options::new(),
|
||||
help_text: help_text,
|
||||
help_text,
|
||||
};
|
||||
ret.options
|
||||
.optflag("", "help", "print usage information")
|
||||
|
||||
+2
-2
@@ -66,8 +66,8 @@ impl<R: Read> Data<R> {
|
||||
Data {
|
||||
line_wrap: 76,
|
||||
ignore_garbage: false,
|
||||
input: input,
|
||||
format: format,
|
||||
input,
|
||||
format,
|
||||
alphabet: match format {
|
||||
Base32 => b"ABCDEFGHIJKLMNOPQRSTUVWXYZ234567=",
|
||||
Base64 => b"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789=+/",
|
||||
|
||||
Reference in New Issue
Block a user