Skip to content

Commit

Permalink
fix fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
ssddOnTop committed Nov 7, 2024
1 parent 778bab8 commit d9e37ec
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
6 changes: 3 additions & 3 deletions workspace/gh-workflow/src/event.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
use std::fmt::{Display, Formatter};

use derive_setters::Setters;
use indexmap::IndexMap;
use serde::Serialize;
use crate::is_default;
use crate::SetEvent;

use crate::{is_default, SetEvent};

#[derive(Serialize, Setters, Clone)]
#[serde(rename_all = "snake_case")]
Expand Down Expand Up @@ -651,7 +652,6 @@ pub struct CheckSuite {
types: Vec<CheckSuiteEvent>,
}


#[derive(Default, Serialize, Clone, PartialEq)]
#[serde(rename_all = "snake_case")]
pub struct Create {
Expand Down
2 changes: 1 addition & 1 deletion workspace/gh-workflow/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,4 +12,4 @@ pub use workflow::*;

pub(crate) fn is_default<T: Default + PartialEq>(value: &T) -> bool {
*value == T::default()
}
}
1 change: 1 addition & 0 deletions workspace/gh-workflow/src/toolchain.rs
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,7 @@ pub struct Target {
abi: Option<Abi>,
}

///
/// A Rust representation for the inputs of the setup-rust action.
/// More information can be found [here](https://github.com/actions-rust-lang/setup-rust-toolchain/blob/main/action.yml).
/// NOTE: The public API should be close to the original action as much as
Expand Down

0 comments on commit d9e37ec

Please sign in to comment.