Commit 08dee63
authored
[minor] Name Magic Number "8" in
# Which issue does this PR close?
- Follow-up on #8901
# Rationale for this change
It's non-obvious why the number "8" appears here.
# What changes are included in this PR?
Name the number such that it's more obvious that this is a conversion
from bytes to bits.
@alamb I can also include the [suggested
comment](#8901 (comment))
if you prefer it. I thought the constant may have a lesser risk of
becoming outdated without being noticed when changes to
`MutableBuffer::new_null` happen.
# Are these changes tested?
- No behavior changes
# Are there any user-facing changes?
- NoFixedSizeBinaryArray::new_null (#8914)1 parent 7e637a7 commit 08dee63
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
| 122 | + | |
122 | 123 | | |
123 | 124 | | |
124 | 125 | | |
125 | | - | |
| 126 | + | |
126 | 127 | | |
127 | 128 | | |
128 | 129 | | |
| |||
0 commit comments