julelang / jule

Effective programming language to build efficient, fast, reliable and safe software while maintaining simplicity
https://jule.dev
BSD 3-Clause "New" or "Revised" License
128 stars 13 forks source link

style: remove `const` from return type of `DynamicType::to_str` #66

Closed vil02 closed 7 months ago

vil02 commented 7 months ago

Description

The const in the return type of DynamicType::to_str is not only redundant but it also might cause some loss of performance.

Checklist

Screenshots (if any)

Note to reviewers

Remove const from return type of DynamicType::to_str.