Skip to content

Commit

Permalink
rust linter
Browse files Browse the repository at this point in the history
  • Loading branch information
TJ Zhang committed Jun 29, 2024
1 parent bb35b29 commit 6bd5fab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion glide-core/src/client/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -172,7 +172,7 @@ fn get_timeout_from_cmd_arg(
format!("Received timeout = {:?}.", timeout_secs),
)))
} else if timeout_secs == 0.0 {
if (std::str::from_utf8(&cmd.command().unwrap_or_default()) == Ok("WAIT")) {
if std::str::from_utf8(&cmd.command().unwrap_or_default()) == Ok("WAIT") {
Ok(RequestTimeoutOption::ClientConfig)
} else {
// `0` means we should set no timeout
Expand Down

0 comments on commit 6bd5fab

Please sign in to comment.