Skip to content
Snippets Groups Projects
Verified Commit efa1c6e0 authored by STEVAN Antoine's avatar STEVAN Antoine :crab:
Browse files

make struct fields public

parent 24212e07
No related branches found
No related tags found
No related merge requests found
Pipeline #9126 passed
......@@ -12,8 +12,8 @@ use indicatif::{MultiProgress, ProgressBar, ProgressStyle};
pub type FnTimed<T> = Box<dyn Fn() -> TimeWithValue<T>>;
pub struct LabeledFnTimed<T> {
label: String,
func: FnTimed<T>,
pub label: String,
pub func: FnTimed<T>,
}
impl<T> From<(String, FnTimed<T>)> for LabeledFnTimed<T> {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment