diff --git a/Cargo.lock b/Cargo.lock index 0f30bb0..550a2d3 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -298,7 +298,7 @@ dependencies = [ [[package]] name = "shrink-to-fit" -version = "0.2.8" +version = "0.2.9" dependencies = [ "hashbrown", "indexmap", @@ -308,7 +308,7 @@ dependencies = [ [[package]] name = "shrink-to-fit-macro" -version = "0.2.4" +version = "0.2.5" dependencies = [ "proc-macro2", "quote", diff --git a/crates/shrink-to-fit-macro/Cargo.toml b/crates/shrink-to-fit-macro/Cargo.toml index 9ed9e45..c08dc48 100644 --- a/crates/shrink-to-fit-macro/Cargo.toml +++ b/crates/shrink-to-fit-macro/Cargo.toml @@ -4,7 +4,7 @@ edition = { workspace = true } license = { workspace = true } name = "shrink-to-fit-macro" repository = { workspace = true } -version = "0.2.4" +version = "0.2.5" [lib] proc-macro = true diff --git a/crates/shrink-to-fit-macro/src/lib.rs b/crates/shrink-to-fit-macro/src/lib.rs index 858da77..5021ab4 100644 --- a/crates/shrink-to-fit-macro/src/lib.rs +++ b/crates/shrink-to-fit-macro/src/lib.rs @@ -130,7 +130,7 @@ fn expand_fields( let field_name = Ident::new(&format!("_{}", i), field.span()); body_impl.extend(quote!( - #crate_name::helpers::ShrinkToFitDerefSpecialization::new(#field_name).shrink_to_fit() + #crate_name::helpers::ShrinkToFitDerefSpecialization::new(#field_name).shrink_to_fit(); )); let index = syn::Index::from(i); diff --git a/crates/shrink-to-fit/Cargo.toml b/crates/shrink-to-fit/Cargo.toml index aec7eb3..5583d56 100644 --- a/crates/shrink-to-fit/Cargo.toml +++ b/crates/shrink-to-fit/Cargo.toml @@ -4,7 +4,7 @@ edition = { workspace = true } license = { workspace = true } name = "shrink-to-fit" repository = { workspace = true } -version = "0.2.8" +version = "0.2.9" [package.metadata.docs.rs] all-features = true @@ -14,7 +14,7 @@ rustdoc-args = ["--cfg", "docsrs"] hashbrown = { workspace = true, optional = true, default-features = false } indexmap = { workspace = true, optional = true, default-features = false } serde_json = { workspace = true, optional = true, default-features = false } -shrink-to-fit-macro = { version = "0.2.4", path = "../shrink-to-fit-macro", optional = true } +shrink-to-fit-macro = { version = "0.2.5", path = "../shrink-to-fit-macro", optional = true } [features]