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:
Jakub Beránek 2025-08-06 15:55:44 +02:00 committed by GitHub
commit bde39e58d6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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() }
}
}