From 72396e7e81dd0edfc1f6856d146c38aca2d64910 Mon Sep 17 00:00:00 2001 From: hyjbrave Date: Wed, 24 Jan 2024 15:44:24 +0800 Subject: [PATCH] remove unnecessary 'PartialEq' --- src/basic/trait/trait.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/basic/trait/trait.md b/src/basic/trait/trait.md index 6a43a4e1..b536f2d2 100644 --- a/src/basic/trait/trait.md +++ b/src/basic/trait/trait.md @@ -526,7 +526,7 @@ fn main() { use std::fmt; use std::fmt::{Display}; -#[derive(Debug,PartialEq)] +#[derive(Debug)] enum FileState { Open, Closed,