removed legacy code and clippy fixes + fixed ci
Release / Build and Release (push) Failing after 38s
Release / Build and Release (push) Failing after 38s
This commit is contained in:
+1
-12
@@ -1,6 +1,6 @@
|
||||
use serde::Serialize;
|
||||
|
||||
#[derive(Serialize)]
|
||||
#[derive(Serialize, Default)]
|
||||
pub struct WaybarOutput {
|
||||
pub text: String,
|
||||
#[serde(skip_serializing_if = "Option::is_none")]
|
||||
@@ -11,17 +11,6 @@ pub struct WaybarOutput {
|
||||
pub percentage: Option<u8>,
|
||||
}
|
||||
|
||||
impl Default for WaybarOutput {
|
||||
fn default() -> Self {
|
||||
Self {
|
||||
text: String::new(),
|
||||
tooltip: None,
|
||||
class: None,
|
||||
percentage: None,
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
|
||||
Reference in New Issue
Block a user