misc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.alexwennerberg.com/misc
Log | Files | Refs | README | LICENSE

commit bfd2af4c0de3d2c6ecfd74ea17f1e8bb01b58bdf
parent 60b29f71046403860488862a7fd8f5ae77068766
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat, 19 Feb 2022 16:41:36 -0800

remove unnecc mut

Diffstat:
Marg.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/arg.rs b/arg.rs @@ -84,7 +84,7 @@ impl Args { let mut out = Self::default(); let mut args = env::args_os().skip(1); while let Some(arg) = args.next() { - let mut bytes = arg.as_os_str().as_bytes(); + let bytes = arg.as_os_str().as_bytes(); if bytes[0] != b'-' { out.positional.push(arg); continue;