Skip to content

Commit

Permalink
Documentation improvements.
Browse files Browse the repository at this point in the history
  • Loading branch information
partim committed Jun 8, 2024
1 parent e2f0e44 commit 8ed7408
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/railway/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@
//! In order to be able to draw features differently for different styles, we
//! need to describe them in an abstract fashion. This is what classes do.
//!
//! There are currently two classes, [`Railway`] for the classes of features
//! related to railways, and [`Border`] for borders.
//!
//! Since railways are very comples, there are plenty extra types here that
//! help with defining the railway class.
#![allow(dead_code)]
Expand Down Expand Up @@ -320,8 +317,8 @@ impl Default for Category {

/// The status of the feature.
///
/// The variants ordered for use in [`Group`][crate::feature::Group] with the
/// one draw atop everything else last.
/// The variants are ordered so that features with these statuses are drawn
/// in a sensible order way atop each other.
#[derive(Clone, Copy, Debug, Eq, Ord, PartialEq, PartialOrd)]
pub enum Status {
/// The feature has been removed a long time ago.
Expand Down

0 comments on commit 8ed7408

Please sign in to comment.