Skip to content

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
mhuang74 committed Dec 30, 2021
1 parent 32128f7 commit 5ec1bf3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cmd/fetch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ pub fn run(argv: &[&str]) -> CliResult<()> {
);

use std::num::NonZeroU32;
// default rate limit is 3 qps
// default rate limit is actually set via docopt, so below init is just to satisfy compiler
let mut rate_limit: NonZeroU32 = NonZeroU32::new(5).unwrap();
if let Some(qps) = args.flag_rate_limit {
assert!(
Expand Down

0 comments on commit 5ec1bf3

Please sign in to comment.