Skip to content

Commit 8eb0bf0

Browse files
committed
make CargoArguments::parse_from public
To allow using `cargo-component` as a library.
1 parent e0e34c7 commit 8eb0bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/config.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -411,7 +411,7 @@ impl CargoArguments {
411411
}
412412

413413
/// Parses the arguments from an iterator.
414-
fn parse_from<T>(iter: impl Iterator<Item = T>) -> Result<Self>
414+
pub fn parse_from<T>(iter: impl Iterator<Item = T>) -> Result<Self>
415415
where
416416
T: Into<String>,
417417
{

0 commit comments

Comments
 (0)