Skip to content

Commit

Permalink
cargo +nightly fmt -- --config format_code_in_doc_comments=true
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelkirk committed Apr 27, 2022
1 parent 3758f0b commit 7c99af8
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 11 deletions.
5 changes: 0 additions & 5 deletions src/geo_types_from_wkt.rs
Original file line number Diff line number Diff line change
@@ -1,11 +1,6 @@
//! This module provides conversions between WKT primitives and [`geo_types`] primitives.
//!
//! See the [`std::convert::From`] and [`std::convert::TryFrom`] impls on individual [`crate::types`] and [`Wkt`] for details.
//!
//!
//!
//!
//!
// Copyright 2014-2018 The GeoRust Developers
//
// Licensed under the Apache License, Version 2.0 (the "License");
Expand Down
4 changes: 0 additions & 4 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
//! use wkt::Wkt;
//! let point: Wkt<f64> = Wkt::from_str("POINT(10 20)").unwrap();
//! ```
//!
#![cfg_attr(feature = "geo-types", doc = "```")]
#![cfg_attr(not(feature = "geo-types"), doc = "```ignore")]
//! // Convert to a geo_types primitive from a Wkt struct
Expand Down Expand Up @@ -58,9 +57,6 @@
//! }
//! _ => unreachable!(),
//! };
//!
//!
//!
use std::default::Default;
use std::fmt;
use std::str::FromStr;
Expand Down
2 changes: 0 additions & 2 deletions src/to_wkt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ where
fn to_wkt(&self) -> Wkt<T>;

/// Serialize as a WKT string
///
#[cfg_attr(feature = "geo-types", doc = "```")]
#[cfg_attr(not(feature = "geo-types"), doc = "```ignore")]
/// // This example requires the geo-types feature (on by default).
Expand All @@ -25,7 +24,6 @@ where
}

/// Write a WKT string to a [`File`](std::fs::File), or anything else that implements [`Write`](std::io::Write).
///
#[cfg_attr(feature = "geo-types", doc = "```")]
#[cfg_attr(not(feature = "geo-types"), doc = "```ignore")]
/// // This example requires the geo-types feature (on by default).
Expand Down

0 comments on commit 7c99af8

Please sign in to comment.