Skip to content

Commit

Permalink
td: Improve comments
Browse files Browse the repository at this point in the history
Summary: Actually explain what the structs are for.

Differential Revision: D57967791

fbshipit-source-id: a4efc181999a512e758dac05b0854780f2f66880
  • Loading branch information
Aniket Mathur authored and facebook-github-bot committed May 30, 2024
1 parent 0a3b19f commit 71feb97
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion td_util/src/schedules.rs
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,10 @@ lazy_static! {
Eq,
Hash
)]
/// Use snake_case so we can use the continuous_stable schedule type
#[display(style = "snake_case")]
#[clap(rename_all = "snake_case")]
#[serde(rename_all = "snake_case")]
/// Represents the different phases of validation where we run CI.
pub enum ScheduleType {
#[default]
Diff,
Expand Down Expand Up @@ -77,6 +77,7 @@ impl ScheduleType {
#[display(style = "snake_case")]
#[clap(rename_all = "snake_case")]
#[serde(rename_all = "snake_case")]
/// Trunk runs with a specific purpose.
pub enum ContinuousRunMode {
#[serde(rename = "aarch64")]
Aarch64,
Expand Down

0 comments on commit 71feb97

Please sign in to comment.