Commit 3d364e7
authored
Use built-in constant instead of a magic number (#18)
In job-security providing functions, it is critically important that
they be fully in line with best coding practices. Hence, instead of
using a well-known(ish!) hardcoded power of two, use u8::MAX to truncate
the u32 into a u8.1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
83 | 83 | | |
84 | 84 | | |
85 | 85 | | |
86 | | - | |
| 86 | + | |
87 | 87 | | |
88 | 88 | | |
89 | 89 | | |
| |||
0 commit comments