From c985453871b63734c47a8a48ba20416fededec3e Mon Sep 17 00:00:00 2001 From: Tortar <68152031+Tortar@users.noreply.github.com> Date: Sat, 6 Apr 2024 13:20:07 +0200 Subject: [PATCH] Bump to 0.2.14 (#48) --- Project.toml | 2 +- docs/src/index.md | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/Project.toml b/Project.toml index 1ec8bd1..06783ba 100644 --- a/Project.toml +++ b/Project.toml @@ -1,6 +1,6 @@ name = "MixedStructTypes" uuid = "3d69f371-6fa5-5add-b11c-3293622cad62" -version = "0.2.13" +version = "0.2.14" [deps] ExprTools = "e2ba6199-217a-4e67-a87a-7c52f15ade04" diff --git a/docs/src/index.md b/docs/src/index.md index 56d75d0..c81a5c6 100644 --- a/docs/src/index.md +++ b/docs/src/index.md @@ -55,8 +55,7 @@ julia> abstract type AbstractF{X} end julia> # as you can see, here, all structs are mutable # and all shared fields in different structs have # the same type - -julia> @compact_structs F{X} <: AbstractF{X} begin + @compact_structs F{X} <: AbstractF{X} begin @kwdef mutable struct G{X} a::Tuple{X, X} = (1,1) b::Tuple{Float64, Float64} = (1.0, 1.0)