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
Currently we use the same unit ChUnit as as unit of measurement and type for width and index. That causes problems, since:
index = width - 1
width = index + 1
Instead of saving everything as ChUnit, it would be best to provide a WidthUnit and IndexUnit and then audit the entire codebase and make changes where necessary. From impl traits should be provided so we can go from width unit to index unit and vice versa.
The text was updated successfully, but these errors were encountered:
NadiaIdris
changed the title
[all] Use new units for handling index and count units
Use new units for handling index and count units
Nov 25, 2023
nazmulidris
changed the title
Use new units for handling index and count units
For r3bl_rs_utils_core crate, use new units for handling index and count units
Nov 25, 2023
nazmulidris
changed the title
For r3bl_rs_utils_core crate, use new units for handling index and count units
[core] use new units for handling index and count units
Nov 26, 2023
Currently we use the same unit
ChUnit
as as unit of measurement and type for width and index. That causes problems, since:Instead of saving everything as
ChUnit
, it would be best to provide aWidthUnit
andIndexUnit
and then audit the entire codebase and make changes where necessary. From impl traits should be provided so we can go from width unit to index unit and vice versa.The text was updated successfully, but these errors were encountered: