Skip to content

Commit

Permalink
Update src/raster/mdarray.rs
Browse files Browse the repository at this point in the history
  • Loading branch information
lnicola committed Dec 1, 2023
1 parent b4c6336 commit 781898e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/raster/mdarray.rs
Original file line number Diff line number Diff line change
Expand Up @@ -330,7 +330,7 @@ impl<'a> MDArray<'a> {
let strings = string_pointers
.into_iter()
.map(|string_ptr| {
if string_ptr == std::ptr::null() {
if string_ptr.is_null() {
String::new()
} else {
let string = _string(string_ptr);
Expand Down

0 comments on commit 781898e

Please sign in to comment.