From 3077c7af770b055804d5cf48994a4e4cf6d31146 Mon Sep 17 00:00:00 2001 From: jacksonfu14 Date: Sun, 16 Nov 2025 17:12:19 +0100 Subject: chore: rename meta_affine crate to morphology --- morphology/src/value.rs | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'morphology/src/value.rs') diff --git a/morphology/src/value.rs b/morphology/src/value.rs index 51e9e40..e3348fb 100644 --- a/morphology/src/value.rs +++ b/morphology/src/value.rs @@ -29,7 +29,7 @@ impl Value { /// # Examples /// /// ``` - /// use meta_affine::Value; + /// use morphology::Value; /// let v = Value::new(2, 3); /// assert_eq!(v.outer, 2); /// assert_eq!(v.inner, 3); @@ -43,7 +43,7 @@ impl Value { /// # Examples /// /// ``` - /// use meta_affine::Value; + /// use morphology::Value; /// let origin = Value::origin(); /// assert_eq!(origin, Value::new(0, 0)); /// ``` @@ -56,7 +56,7 @@ impl Value { /// # Examples /// /// ``` - /// use meta_affine::Value; + /// use morphology::Value; /// assert!(Value::new(0, 0).is_origin()); /// assert!(!Value::new(1, 0).is_origin()); /// ``` @@ -79,7 +79,7 @@ impl Value { /// # Examples /// /// ``` - /// use meta_affine::Value; + /// use morphology::Value; /// assert_eq!(Value::new(0, 0).pretty_print(), "0"); /// assert_eq!(Value::new(0, 1).pretty_print(), "1"); /// assert_eq!(Value::new(1, 0).pretty_print(), "(0)"); @@ -113,7 +113,7 @@ impl fmt::Display for Value { /// # Examples /// /// ``` - /// use meta_affine::Value; + /// use morphology::Value; /// let v = Value::new(2, -3); /// assert_eq!(format!("{}", v), "(2,-3)"); /// ``` @@ -132,7 +132,7 @@ impl fmt::Display for Value { /// # Examples /// /// ``` -/// use meta_affine::{Value, get_minimum_derivation_path}; +/// use morphology::{Value, get_minimum_derivation_path}; /// let path = get_minimum_derivation_path(Value::new(2, 3)); /// assert_eq!(path.len(), 6); /// assert_eq!(path[0], Value::new(0, 0)); @@ -198,7 +198,7 @@ fn generate_inner_path(m: i32, n: i32) -> Vec { /// # Examples /// /// ``` -/// use meta_affine::{Value, path_length}; +/// use morphology::{Value, path_length}; /// assert_eq!(path_length(Value::new(2, 3)), 6); /// assert_eq!(path_length(Value::new(-2, -3)), 6); /// ``` -- cgit v1.2.3