OpenTelemetry.jl icon indicating copy to clipboard operation
OpenTelemetry.jl copied to clipboard

Turn `immutable` structs with `Ref` fields into `mutable`

Open findmyway opened this issue 2 years ago • 0 comments

The motivation was to avoid modifying some fields. Given that since [email protected], we can mark immutable fields in a mutable struct with const, better to turn those into mutable not.

Ref:

  • https://docs.julialang.org/en/v1/manual/types/#Mutable-Composite-Types
  • #80

findmyway avatar Jun 11 '23 01:06 findmyway