my fork of dmp
-rw-r--r--CHANGELOG.md6
-rw-r--r--Cargo.toml2
-rw-r--r--src/dmp.rs2
3 files changed, 8 insertions, 2 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 22e155e..20a4120 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,11 @@
# CHANGELOG.md
+## 0.3.1
+
+Fix:
+
+ - Fixing order of Ops definition [Issue](https://github.com/AnubhabB/diff-match-patch-rs/issues/5)
+
## 0.3.0
Breaking Change:
diff --git a/Cargo.toml b/Cargo.toml
index 914a111..a72f1e7 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "diff-match-patch-rs"
-version = "0.3.0"
+version = "0.3.1"
edition = "2021"
authors = ["Anubhab Bandyopadhyay"]
homepage = "https://docs.rs/diff-match-patch-rs"
diff --git a/src/dmp.rs b/src/dmp.rs
index 3e2210f..51f9bad 100644
--- a/src/dmp.rs
+++ b/src/dmp.rs
@@ -17,8 +17,8 @@ use crate::{errors::Error, html::HtmlConfig, DType, PatchInput};
#[derive(Debug, PartialEq, Eq, Clone, Copy)]
pub enum Ops {
Delete = -1,
- Insert,
Equal,
+ Insert,
}
/// A structure representing a diff