Skip to content

Commit 6425081

Browse files
jmertmusm
authored andcommitted
Use immutable struct where possible
1 parent 862b6d7 commit 6425081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/HDF5.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -284,7 +284,7 @@ end
284284
convert(::Type{hid_t}, attr::Attribute) = attr.id
285285
show(io::IO, attr::Attribute) = isvalid(attr) ? print(io, "HDF5 attribute: ", name(attr)) : print(io, "HDF5 attribute (invalid)")
286286

287-
mutable struct Attributes
287+
struct Attributes
288288
parent::Union{File,Group,Dataset}
289289
end
290290
attrs(p::Union{File,Group,Dataset}) = Attributes(p)

0 commit comments

Comments
 (0)