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
- Adds proper documentation comments with `# Errors` sections for all
functions returning `Result`
- `cast_precision_loss` on `u64` -> `f64` for disk sizes is acceptable
since disk sizes won't exceed f64's precision limit in practice.
Thus, we can suppress those.
- `cast_sign_loss` and `cast_possible_truncation` on the percentage
calculation is safe since percentages are always 0-100. Once again,
it's safe to suppress.
Signed-off-by: NotAShelf <[email protected]>
Change-Id: Id4dd7ebc9674407d2be4f38ff4de24bc6a6a6964
0 commit comments