projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
separate warnings and errors
[pspp]
/
rust
/
src
/
dictionary.rs
diff --git
a/rust/src/dictionary.rs
b/rust/src/dictionary.rs
index 6662aaa94e5249a3933cba5e42bcb56c9123c093..ace97b03f7db5690d2a0ff565d4b0f2ced0ee242 100644
(file)
--- a/
rust/src/dictionary.rs
+++ b/
rust/src/dictionary.rs
@@
-36,7
+36,7
@@
impl PartialOrd for VarWidth {
impl VarWidth {
pub const MAX_STRING: u16 = 32767;
- fn n_dict_indexes(self) -> usize {
+
pub
fn n_dict_indexes(self) -> usize {
match self {
VarWidth::Numeric => 1,
VarWidth::String(w) => div_ceil(w as usize, 8),