From 2c7dfb66c58e6c6574090a5b02c8a69df670d1d2 Mon Sep 17 00:00:00 2001 From: Roey Darwish Dror Date: Sat, 18 Dec 2021 20:14:00 +0200 Subject: [PATCH] Remove obsolete struct (fix #812) --- src/steps/os/linux.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/steps/os/linux.rs b/src/steps/os/linux.rs index 49ce4a1e..0a189915 100644 --- a/src/steps/os/linux.rs +++ b/src/steps/os/linux.rs @@ -8,19 +8,11 @@ use crate::Step; use anyhow::Result; use ini::Ini; use log::{debug, warn}; -use serde::Deserialize; use std::path::{Path, PathBuf}; use std::process::Command; static OS_RELEASE_PATH: &str = "/etc/os-release"; -#[derive(Debug, Deserialize)] -#[serde(rename_all = "UPPERCASE")] -struct OsRelease { - id_like: Option, - id: String, -} - #[allow(clippy::upper_case_acronyms)] #[derive(Copy, Clone, Debug, PartialEq, Eq)] pub enum Distribution {