Skip to content

Commit f6b56e0

Browse files
committed
Use immutable struct where possible
1 parent dafabce commit f6b56e0

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
@@ -283,7 +283,7 @@ end
283283
convert(::Type{hid_t}, attr::Attribute) = attr.id
284284
show(io::IO, attr::Attribute) = isvalid(attr) ? print(io, "HDF5 attribute: ", name(attr)) : print(io, "HDF5 attribute (invalid)")
285285

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

0 commit comments

Comments
 (0)