File tree 4 files changed +6
-6
lines changed
4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 18
18
//! ...
19
19
//! }
20
20
//! ```
21
- //!
21
+ //!
22
22
//! All fields in your struct other than `geometry` will be deserialized from the `properties` of the
23
23
//! GeoJSON Feature.
24
24
//!
68
68
//! assert_eq!("Uptown", my_structs[1].name);
69
69
//! assert_eq!(33.3, my_structs[1].geometry.x());
70
70
//! ```
71
- //!
71
+ //!
72
72
//! # Reading *and* Writing GeoJSON
73
73
//!
74
74
//! This module is only concerned with _reading in_ GeoJSON. If you'd also like to write GeoJSON
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ impl<R: Read> FeatureReader<R> {
140
140
/// }
141
141
/// }
142
142
/// ```
143
- ///
143
+ ///
144
144
/// If you're not using [`geo-types`](geo_types), you can deserialize to a `geojson::Geometry` instead.
145
145
/// ```rust,ignore
146
146
/// use serde::Deserialize;
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ impl<W: Write> FeatureWriter<W> {
146
146
///
147
147
/// assert_eq_json(expected_output, &output);
148
148
/// ```
149
- ///
149
+ ///
150
150
/// If you're not using [`geo-types`](geo_types), you can deserialize to a `geojson::Geometry` instead.
151
151
/// ```rust,ignore
152
152
/// use serde::Deserialize;
Original file line number Diff line number Diff line change 18
18
//! ...
19
19
//! }
20
20
//! ```
21
- //!
21
+ //!
22
22
//! All fields in your struct other than `geometry` will be serialized as `properties` of the
23
23
//! GeoJSON Feature.
24
24
//!
82
82
//! #
83
83
//! # assert_eq!(output_geojson, expected_geojson);
84
84
//! ```
85
- //!
85
+ //!
86
86
//! # Reading *and* Writing GeoJSON
87
87
//!
88
88
//! This module is only concerned with Writing out GeoJSON. If you'd also like to read GeoJSON,
You can’t perform that action at this time.
0 commit comments