aboutsummaryrefslogtreecommitdiffstats
path: root/src/config.rs
diff options
context:
space:
mode:
authorTeddy Wing2020-08-30 01:20:33 +0200
committerTeddy Wing2020-08-30 01:20:33 +0200
commit905594dc8393f97c1a960d639af46175b3e6b76f (patch)
tree6da6984c4fa0495ea9ed11ab69a4400e99978e78 /src/config.rs
parentb9729227347e0532891321548b31579b80376bdd (diff)
downloadgit-suggestion-905594dc8393f97c1a960d639af46175b3e6b76f.tar.bz2
diff_options: Clean up code
Remove old process code and comments.
Diffstat (limited to 'src/config.rs')
-rw-r--r--src/config.rs2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/config.rs b/src/config.rs
index 77793c4..c76abf3 100644
--- a/src/config.rs
+++ b/src/config.rs
@@ -58,8 +58,6 @@ pub struct Config {
impl Config {
/// Set up command line arguments. Extract configuration values from command
/// line arguments, Git config, and environment variables.
- // pub fn get<C: IntoIterator>(args: C, usage_brief: &str) -> Result<Self, Error>
- // where C::Item: AsRef<OsStr>
pub fn get<S: AsRef<OsStr>>(args: &[S], usage_brief: &str) -> Result<Self, Error> {
let mut opts = Options::new();