Skip to content

Commit

Permalink
Update fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
kylebarron committed Dec 13, 2024
1 parent 7f1c00e commit f45966a
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/de.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! ...
//! }
//! ```
//!
//!
//! All fields in your struct other than `geometry` will be deserialized from the `properties` of the
//! GeoJSON Feature.
//!
Expand Down Expand Up @@ -68,7 +68,7 @@
//! assert_eq!("Uptown", my_structs[1].name);
//! assert_eq!(33.3, my_structs[1].geometry.x());
//! ```
//!
//!
//! # Reading *and* Writing GeoJSON
//!
//! This module is only concerned with _reading in_ GeoJSON. If you'd also like to write GeoJSON
Expand Down
2 changes: 1 addition & 1 deletion src/feature_reader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ impl<R: Read> FeatureReader<R> {
/// }
/// }
/// ```
///
///
/// If you're not using [`geo-types`](geo_types), you can deserialize to a `geojson::Geometry` instead.
/// ```rust,ignore
/// use serde::Deserialize;
Expand Down
2 changes: 1 addition & 1 deletion src/feature_writer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ impl<W: Write> FeatureWriter<W> {
///
/// assert_eq_json(expected_output, &output);
/// ```
///
///
/// If you're not using [`geo-types`](geo_types), you can deserialize to a `geojson::Geometry` instead.
/// ```rust,ignore
/// use serde::Deserialize;
Expand Down
4 changes: 2 additions & 2 deletions src/ser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
//! ...
//! }
//! ```
//!
//!
//! All fields in your struct other than `geometry` will be serialized as `properties` of the
//! GeoJSON Feature.
//!
Expand Down Expand Up @@ -82,7 +82,7 @@
//! #
//! # assert_eq!(output_geojson, expected_geojson);
//! ```
//!
//!
//! # Reading *and* Writing GeoJSON
//!
//! This module is only concerned with Writing out GeoJSON. If you'd also like to read GeoJSON,
Expand Down

0 comments on commit f45966a

Please sign in to comment.