mirror of
https://github.com/open-telemetry/opentelemetry-go.git
synced 2025-01-18 03:22:12 +02:00
a7e83aace9
Go 1.17 introduced an expression for convertion from slice to array, so codes can be simplified. Ref: https://tip.golang.org/ref/spec#Conversions_from_slice_to_array_or_array_pointer > Converting a slice to an array yields an array containing the elements of the underlying array of the slice.