Rollup merge of #144836 - chotchki:patch-1, r=tgross35
Change visibility of Args new function Currently the Args new function is constrained to pub(super) but this stops me from being able to construct Args structs in unit tests. This pull request is to change this to pub.
This commit is contained in:
commit
bde39e58d6
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@ impl !Sync for Args {}
|
|||
|
||||
impl Args {
|
||||
#[inline]
|
||||
pub(super) fn new(args: Vec<OsString>) -> Self {
|
||||
pub fn new(args: Vec<OsString>) -> Self {
|
||||
Args { iter: args.into_iter() }
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue