mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-04 01:42:54 +03:00
90e7d93d6c
It was checking any is_ok, is_err, is_some, is_none method for negation but it should only perform the check for the built-in types, not custom types.