length clarify

This commit is contained in:
Mashy 2019-11-23 20:27:11 +10:00
parent f0ea19940f
commit 754f3e0025

View File

@ -171,7 +171,7 @@ impl Vbox {
self.bound.push(combo.item);
// self.bound.sort_unstable();
if self.bound.len() >= 7 {
if self.bound.len() > 6 {
return Err(err_msg("too many items bound"));
}
Ok(self)