You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Avoid mutable transmute in string literals (#1360)
* Fixes#1154
Going with the fix proposed in
#743 (comment).
The original code would set the array size to 1 if it wasn't statically
determined by the type. I'm not sure in which situations that would
happen, it still seems suspicious. But to avoid breaking anything I
don't understand, I separated it off, and applied my fix only to the
case where the size is known.
0 commit comments