diff --git a/Cargo.lock b/Cargo.lock index 7751f949..4941e9a9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -611,7 +611,7 @@ checksum = "edd0f118536f44f5ccd48bcb8b111bdc3de888b58c74639dfb034a357d0f206d" [[package]] name = "encstr" -version = "0.29.2-alpha.1" +version = "0.29.2-alpha.2" [[package]] name = "enum-map" @@ -768,7 +768,7 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hl" -version = "0.29.2-alpha.1" +version = "0.29.2-alpha.2" dependencies = [ "atoi", "bincode", diff --git a/Cargo.toml b/Cargo.toml index 454daada..ddb23141 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ members = [".", "crate/encstr"] [workspace.package] repository = "https://github.com/pamburus/hl" authors = ["Pavel Ivanov "] -version = "0.29.2-alpha.1" +version = "0.29.2-alpha.2" edition = "2021" license = "MIT" diff --git a/src/model.rs b/src/model.rs index 23cb151f..83888d46 100644 --- a/src/model.rs +++ b/src/model.rs @@ -1076,7 +1076,7 @@ where false => Vec::new(), true => Vec::with_capacity(count - RAW_RECORD_FIELDS_CAPACITY), }; - while let Some(Some(key)) = access.next_key::<&'a str>().ok() { + while let Some(key) = access.next_key::<&'a str>()? { let value: &RV = access.next_value()?; match head.push((key, value.into())) { Ok(_) => {}