Skip to content

Commit c6f5afd

Browse files
committed
Make args module private and remove unused methods
1 parent 667bb26 commit c6f5afd

File tree

2 files changed

+1
-9
lines changed

2 files changed

+1
-9
lines changed

src/args.rs

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,10 @@ impl Args {
173173
&self.manifest_path
174174
}
175175

176-
pub fn bin_name(&self) -> &Option<String> {
177-
&self.bin_name
178-
}
179-
180176
pub fn target(&self) -> &Option<String> {
181177
&self.target
182178
}
183179

184-
pub fn release(&self) -> bool {
185-
self.release
186-
}
187-
188180
pub fn set_target(&mut self, target: String) {
189181
assert!(self.target.is_none());
190182
self.target = Some(target.clone());

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
use args::{Args, RunnerArgs};
22
use std::{fmt, process};
33

4-
pub mod args;
54
pub mod builder;
5+
mod args;
66
pub mod config;
77
pub mod help;
88

0 commit comments

Comments
 (0)