We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cf3bb9 commit 796f9acCopy full SHA for 796f9ac
crates/crates-io/lib.rs
@@ -199,7 +199,7 @@ impl Registry {
199
/// let mut handle = Easy::new();
200
/// // If connecting to crates.io, a user-agent is required.
201
/// handle.useragent("my_crawler (example.com/info)");
202
- /// 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);
203
/// ```
204
pub fn new_handle(
205
host: String,
0 commit comments