Skip to content

Commit

Permalink
Add derives to routetype
Browse files Browse the repository at this point in the history
  • Loading branch information
tascord committed Sep 5, 2024
1 parent 43ff341 commit d534b2b
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ptv"
version = "0.2.1"
version = "0.2.2"
edition = "2021"
license = "MIT"
description = "A Rust library for the Public Transport Victoria (PTV) API"
Expand Down
2 changes: 1 addition & 1 deletion src/ty.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ pub struct Geopath {
} // TODO: T

/// Types of routes
#[derive(Debug, Copy, Clone, Display, From)]
#[derive(Debug, Copy, Clone, Display, From, PartialEq, Eq, PartialOrd, Ord)]
#[repr(i8)]
pub enum RouteType {
/// Metropolitan train service
Expand Down

0 comments on commit d534b2b

Please sign in to comment.