Skip to content

Commit a7e882b

Browse files
committed
Remove unused derived sorting implementations
1 parent 3ea4030 commit a7e882b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/toolchain/names.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -248,7 +248,7 @@ impl Display for MaybeOfficialToolchainName {
248248
/// ToolchainName can be used in calls to Cfg that alter configuration,
249249
/// like setting overrides, or that depend on configuration, like calculating
250250
/// the toolchain directory.
251-
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
251+
#[derive(Clone, Debug, Eq, PartialEq)]
252252
pub enum ToolchainName {
253253
Custom(CustomToolchainName),
254254
Official(ToolchainDesc),
@@ -353,7 +353,7 @@ impl Display for ResolvableLocalToolchainName {
353353
/// the toolchain directory. It is not used to model the RUSTUP_TOOLCHAIN
354354
/// variable, because that can take unresolved toolchain values that are not
355355
/// invalid for referring to an installed toolchain.
356-
#[derive(Clone, Debug, Eq, PartialEq, PartialOrd, Ord)]
356+
#[derive(Clone, Debug, Eq, PartialEq)]
357357
pub(crate) enum LocalToolchainName {
358358
Named(ToolchainName),
359359
Path(PathBasedToolchainName),

0 commit comments

Comments
 (0)