diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2020-12-12 21:06:46 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-12 21:06:46 -0500 |
commit | 5d7697d3da6e9e481bca38fc6e1d28e8e48ff2ee (patch) | |
tree | f743bceb03c08cccb432cfa45e954f8e3b599781 /src/options.rs | |
parent | 766fe25c55b1a3776dc94daccbe0505c5cdfb0a1 (diff) |
refactor: More minor optimization changes (#353)
- Move data rather than cloning during data transferring step
- Try using beef?
Diffstat (limited to 'src/options.rs')
-rw-r--r-- | src/options.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/options.rs b/src/options.rs index f3f6305c..f5edc46e 100644 --- a/src/options.rs +++ b/src/options.rs @@ -1,7 +1,7 @@ +use beef::Cow; use regex::Regex; use serde::{Deserialize, Serialize}; use std::{ - borrow::Cow, collections::{HashMap, HashSet}, path::PathBuf, str::FromStr, |