Skip to content

Commit

Permalink
Bump to 0.2.14 (#48)
Browse files Browse the repository at this point in the history
  • Loading branch information
Tortar authored Apr 6, 2024
1 parent 1dcc035 commit c985453
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -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"
Expand Down
3 changes: 1 addition & 2 deletions docs/src/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit c985453

Please sign in to comment.