Skip to content

Commit c9cf2cb

Browse files
CodemodService Lint Botfacebook-github-bot
authored andcommitted
Fix clippy::bool_assert_comparison issues in fbcode/monarch/hyperactor_config/src [B]
Reviewed By: dtolnay Differential Revision: D89670267
1 parent e409178 commit c9cf2cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

hyperactor_config/src/global.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1562,7 +1562,7 @@ mod tests {
15621562
// MESSAGE_TTL_DEFAULT should restore, others should remain.
15631563
assert_eq!(get(MESSAGE_TTL_DEFAULT), MESSAGE_TTL_DEFAULT_DEFAULT);
15641564
assert_eq!(get(CODEC_MAX_FRAME_LENGTH), 1111);
1565-
assert_eq!(get(CHANNEL_MULTIPART), false);
1565+
assert!(!get(CHANNEL_MULTIPART));
15661566

15671567
// Env for MESSAGE_TTL_DEFAULT should be cleared.
15681568
assert!(std::env::var("HYPERACTOR_MESSAGE_TTL_DEFAULT").is_err());

0 commit comments

Comments
 (0)