From ebb591a5704f767d783d57af7022272f665318ac Mon Sep 17 00:00:00 2001 From: Aleksey Kladov Date: Fri, 18 Jun 2021 00:30:22 +0300 Subject: internal: add derive and ord support to minicore --- crates/ide_db/src/helpers/famous_defs_fixture.rs | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'crates/ide_db') diff --git a/crates/ide_db/src/helpers/famous_defs_fixture.rs b/crates/ide_db/src/helpers/famous_defs_fixture.rs index fa4fc5307..6310fc0e1 100644 --- a/crates/ide_db/src/helpers/famous_defs_fixture.rs +++ b/crates/ide_db/src/helpers/famous_defs_fixture.rs @@ -1,15 +1,5 @@ //- /libcore.rs crate:core //! Signatures of traits, types and functions from the core lib for use in tests. -pub mod cmp { - - pub trait Ord { - fn cmp(&self, other: &Self) -> Ordering; - fn max(self, other: Self) -> Self; - fn min(self, other: Self) -> Self; - fn clamp(self, min: Self, max: Self) -> Self; - } -} - pub mod prelude { pub mod rust_2018 { pub use crate::{ -- cgit v1.2.3