Skip to content

Commit

Permalink
fix test failed
Browse files Browse the repository at this point in the history
  • Loading branch information
heisen-li committed Apr 28, 2023
1 parent 5cf3bb9 commit 796f9ac
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/crates-io/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ impl Registry {
/// let mut handle = Easy::new();
/// // If connecting to crates.io, a user-agent is required.
/// handle.useragent("my_crawler (example.com/info)");
/// let mut reg = Registry::new_handle(String::from("https://crates.io"), None, handle);
/// let mut reg = Registry::new_handle(String::from("https://crates.io"), None, handle, true);
/// ```
pub fn new_handle(
host: String,
Expand Down

0 comments on commit 796f9ac

Please sign in to comment.