Skip to content

Commit 796f9ac

Browse files
committed
fix test failed
1 parent 5cf3bb9 commit 796f9ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

crates/crates-io/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ impl Registry {
199199
/// let mut handle = Easy::new();
200200
/// // If connecting to crates.io, a user-agent is required.
201201
/// handle.useragent("my_crawler (example.com/info)");
202-
/// let mut reg = Registry::new_handle(String::from("https://crates.io"), None, handle);
202+
/// let mut reg = Registry::new_handle(String::from("https://crates.io"), None, handle, true);
203203
/// ```
204204
pub fn new_handle(
205205
host: String,

0 commit comments

Comments
 (0)