Skip to content

Commit

Permalink
fix: make convert_args public
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoverth committed May 1, 2024
1 parent 8e96205 commit 15f78e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ pub fn convert(curl: &[String]) -> Result<String, Errors> {
/// let curl_argument = "-H 'User-Agent: Mozilla...'";
/// let wget_argument = convert_arg(curl_argument);
/// ```
fn convert_arg(arg: &str) -> Result<String, Errors> {
pub fn convert_arg(arg: &str) -> Result<String, Errors> {
// if it's the url, don't touch it
if arg.starts_with("<url>") {
Ok(String::from("<url>"))
Expand Down

0 comments on commit 15f78e8

Please sign in to comment.