aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib.rs
diff options
context:
space:
mode:
authorLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 12:07:30 +0200
committerLibravatar Titus Wormer <tituswormer@gmail.com>2022-08-15 12:07:30 +0200
commited72a2e16ece757941786f586bd2a80022892a74 (patch)
treeea0e93ab6daca1ef4c76d62bd311349dc12a86ee /src/lib.rs
parentee967aa634b5f8e9d30329d587538f1371a5da95 (diff)
downloadmarkdown-rs-ed72a2e16ece757941786f586bd2a80022892a74.tar.gz
markdown-rs-ed72a2e16ece757941786f586bd2a80022892a74.tar.bz2
markdown-rs-ed72a2e16ece757941786f586bd2a80022892a74.zip
Add derive of `Eq` where possible
Diffstat (limited to 'src/lib.rs')
-rw-r--r--src/lib.rs2
1 files changed, 1 insertions, 1 deletions
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`).
///