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
#61 got me thinking: if Decimal::<N>::from_raw_parts is provided with a digits value that exceeds the maximum number of digits that can be stored in lsu for the specified N, does memory unsafety result? We should investigate!
If it does, I think we have two options:
Mark from_raw_parts as unsafe and document the danger.
#61 got me thinking: if
Decimal::<N>::from_raw_parts
is provided with a digits value that exceeds the maximum number of digits that can be stored inlsu
for the specifiedN
, does memory unsafety result? We should investigate!If it does, I think we have two options:
from_raw_parts
asunsafe
and document the danger.cc @sploiselle
The text was updated successfully, but these errors were encountered: