Skip to content

Commit 8e01d23

Browse files
committed
use struct instead of immutable
1 parent 37d9347 commit 8e01d23

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/memory.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Memory
22
# ======
33

4-
immutable Memory
4+
struct Memory
55
ptr::Ptr{UInt8}
66
size::UInt
77
end

src/stream.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ end
403403
# State Transition
404404
# ----------------
405405

406-
immutable StateTransitionError <: Exception
406+
struct StateTransitionError <: Exception
407407
message::String
408408
states::Pair{Symbol,Symbol}
409409
end

0 commit comments

Comments
 (0)