# HG changeset patch # User Tuomo Valkonen # Date 1785803181 18000 # Node ID ad16acf4772611745544c4d724adbfa3cb1e1f2e # Parent 7a1f1f6f34b5a48ae491ab6bf2e6012c9338e75b Macro fixes and version bump diff -r 7a1f1f6f34b5 -r ad16acf47726 Cargo.lock --- a/Cargo.lock Sat Aug 01 23:33:44 2026 -0500 +++ b/Cargo.lock Mon Aug 03 19:26:21 2026 -0500 @@ -4,7 +4,7 @@ [[package]] name = "alg_tools" -version = "0.5.3-dev" +version = "0.5.4" dependencies = [ "anyhow", "colored", diff -r 7a1f1f6f34b5 -r ad16acf47726 Cargo.toml --- a/Cargo.toml Sat Aug 01 23:33:44 2026 -0500 +++ b/Cargo.toml Mon Aug 03 19:26:21 2026 -0500 @@ -1,6 +1,6 @@ [package] name = "alg_tools" -version = "0.5.3-dev" +version = "0.5.4" edition = "2021" rust-version = "1.85" authors = ["Tuomo Valkonen "] diff -r 7a1f1f6f34b5 -r ad16acf47726 src/instance.rs --- a/src/instance.rs Sat Aug 01 23:33:44 2026 -0500 +++ b/src/instance.rs Mon Aug 03 19:26:21 2026 -0500 @@ -257,17 +257,17 @@ #[inline] fn clone_owned(&self) -> Self::OwnedVariant { - *self + (*self).clone() } #[inline] - fn cow_owned<'b>(self) -> MyCow<'b, Self::OwnedVariant> where Self : 'b { - MyCow::Owned(self) + fn cow_owned<'b>(self) -> $crate::instance::MyCow<'b, Self::OwnedVariant> where Self : 'b { + $crate::instance::MyCow::Owned(self) } #[inline] - fn ref_cow_owned<'b>(&self) -> MyCow<'b, Self::OwnedVariant> where Self : 'b { - MyCow::Owned(*self) + fn ref_cow_owned<'b>(&self) -> $crate::instance::MyCow<'b, Self::OwnedVariant> where Self : 'b { + $crate::instance::MyCow::Owned((*self).clone()) } } };