Fix compilation errors on all-features
MODIFY
examples/read_write_ogr_datetime.rs
examples/read_write_ogr_datetime.rs
@@ -10,8 +10,8 @@ fn run() -> Result<()> {
println!("gdal crate was build with datetime support");
- let mut dataset_a = Dataset::open(Path::new("fixtures/points_with_datetime.json"))?;
- let layer_a = dataset_a.layer(0)?;
+ let dataset_a = Dataset::open(Path::new("fixtures/points_with_datetime.json"))?;
+ let mut layer_a = dataset_a.layer(0)?;
// Create a new dataset:
let path = std::env::temp_dir().join("later.geojson");

Fix compilation errors on all-features