mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-11 14:48:41 +00:00

Eliminate duplicate codes of expected_found_bool The function expected_found_bool is the same as ExpectedFound::new. So use ExpectedFound::new to replace expected_found_bool to eliminate duplicate codes. 