De Morgan's Law assist now correctly inverts <, <=, >, >=.

This commit is contained in:
lbrande 2021-02-22 16:23:42 +01:00 committed by Lukas Wirth
parent f7a4a87de2
commit 9db970ee08
7 changed files with 68 additions and 13 deletions

View file

@ -45,6 +45,10 @@ impl FamousDefs<'_, '_> {
self.find_crate("core")
}
pub fn core_cmp_Ord(&self) -> Option<Trait> {
self.find_trait("core:cmp:Ord")
}
pub fn core_convert_From(&self) -> Option<Trait> {
self.find_trait("core:convert:From")
}