From ed72a2e16ece757941786f586bd2a80022892a74 Mon Sep 17 00:00:00 2001 From: Titus Wormer Date: Mon, 15 Aug 2022 12:07:30 +0200 Subject: Add derive of `Eq` where possible --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index d46a6db..4de633c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -20,7 +20,7 @@ use crate::compiler::compile; use crate::parser::parse; /// Type of line endings in markdown. -#[derive(Debug, Default, Clone, PartialEq)] +#[derive(Clone, Debug, Default, Eq, PartialEq)] pub enum LineEnding { /// Both a carriage return (`\r`) and a line feed (`\n`). /// -- cgit