Skip to content

Commit

Permalink
fix: added docs to a few methods
Browse files Browse the repository at this point in the history
  • Loading branch information
pdylanross committed Jan 7, 2022
1 parent 28c00d3 commit e5640db
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions libfatigue/src/actions/delay.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,7 @@ impl ActionBuilder for DelayActionBuilder {
}
}

/// create a new delay action builder
pub fn new_builder() -> Box<dyn ActionBuilder> {
Box::new(DelayActionBuilder {})
}
1 change: 1 addition & 0 deletions libfatigue/src/actions/print.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ impl ActionBuilder for PrintContextActionBuilder {
}
}

/// create a new print_context action builder
pub fn new_builder() -> Box<dyn ActionBuilder> {
Box::new(PrintContextActionBuilder {})
}
1 change: 1 addition & 0 deletions libfatigue/src/actions/request.rs
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ use reqwest::{Client, Method, Url};
use serde_yaml::Value;
use std::time::Instant;

/// create a new request action builder
pub fn new_builder() -> Box<dyn ActionBuilder> {
Box::new(RequestActionBuilder {})
}
Expand Down

0 comments on commit e5640db

Please sign in to comment.