Skip to content

Commit

Permalink
nix_rs: FlakeUrl: Add *Ord instance
Browse files Browse the repository at this point in the history
  • Loading branch information
srid committed Nov 2, 2023
1 parent bd48220 commit 7032f41
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crates/nix_rs/src/flake/url.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ use serde::{Deserialize, Serialize};
///
/// Use `FromStr` to parse a string into a `FlakeUrl`. Or `From` or `Into` if
/// you know the URL is valid.
#[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize, Deserialize)]
#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash, Serialize, Deserialize)]
pub struct FlakeUrl(pub String);

impl FlakeUrl {
Expand Down

0 comments on commit 7032f41

Please sign in to comment.