summaryrefslogtreecommitdiff
path: root/morphology/src/value.rs
diff options
context:
space:
mode:
authorjacksonfu14 <jackson@fashionunited.com>2025-11-16 17:12:19 +0100
committerJackson Moore <jacksonmoore@tuta.io>2025-11-16 17:12:19 +0100
commit3077c7af770b055804d5cf48994a4e4cf6d31146 (patch)
tree3e79bc817942db478031723039fdd021606a669d /morphology/src/value.rs
parent3505cc56367feabc60aaffe5e2b899d4d5d00531 (diff)
chore: rename meta_affine crate to morphology
Diffstat (limited to 'morphology/src/value.rs')
-rw-r--r--morphology/src/value.rs14
1 files changed, 7 insertions, 7 deletions
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<Value> {
/// # 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);
/// ```