Skip to content

Commit

Permalink
Change log update.
Browse files Browse the repository at this point in the history
  • Loading branch information
metasim committed Sep 3, 2022
1 parent fa6da96 commit a3ff46c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGES.md
Expand Up @@ -10,6 +10,10 @@

- <https://github.com/georust/gdal/pull/303>

- Added a more ergonomic and strongly typed means of accessing GDAL version properties

- <https://github.com/georust/gdal/pull/305>

## 0.13

- Add prebuild bindings for GDAL 3.5
Expand Down
6 changes: 3 additions & 3 deletions src/version.rs
Expand Up @@ -144,7 +144,7 @@ impl Debug for VersionInfo {
let text = BUILD_INFO.to_string();

text.lines()
.filter_map(|l| l.split_once("="))
.filter_map(|l| l.split_once('='))
.for_each(|(key, value)| {
builder.field(key, &value);
});
Expand Down Expand Up @@ -182,7 +182,7 @@ impl Default for VersionInfo {
#[cfg(test)]
mod tests {
use super::version_info;
use super::{VersionInfo, VersionInfo::*};
use super::VersionInfo::*;

#[test]
fn test_version_info() {
Expand All @@ -206,7 +206,7 @@ mod tests {
#[test]
fn test_version_enum() {
let rel_name = RELEASE_NAME.to_string();
assert!(rel_name.len() > 0);
assert!(!rel_name.is_empty());
let rpt = VERSION_REPORT.to_string();
assert!(rpt.contains(&rel_name));
}
Expand Down

0 comments on commit a3ff46c

Please sign in to comment.