Skip to content

Commit f2ffd32

Browse files
author
Jan Schulte
committed
add partialeq for OSType enum
1 parent 1a2faa4 commit f2ffd32

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "os_type"
3-
version = "0.2.0"
3+
version = "0.2.1"
44
authors = ["Jan Schulte <hello@unexpected-co.de>"]
55
license = "MIT"
66
description = "Detect the operating system type"

src/lib.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@ use std::path::Path;
55
mod lsb_release;
66

77
#[derive(Debug)]
8+
#[derive(PartialEq)]
89
pub enum OSType {
910
Unknown,
1011
Redhat,

0 commit comments

Comments
 (0)