diff options
author | Titus Wormer <tituswormer@gmail.com> | 2022-08-15 12:07:30 +0200 |
---|---|---|
committer | Titus Wormer <tituswormer@gmail.com> | 2022-08-15 12:07:30 +0200 |
commit | ed72a2e16ece757941786f586bd2a80022892a74 (patch) | |
tree | ea0e93ab6daca1ef4c76d62bd311349dc12a86ee /src/lib.rs | |
parent | ee967aa634b5f8e9d30329d587538f1371a5da95 (diff) | |
download | markdown-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.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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`). /// |