Skip to content

Commit

Permalink
make ParseFn/DisplayFn aliases public
Browse files Browse the repository at this point in the history
  • Loading branch information
micahrj committed Jan 14, 2024
1 parent 6e9a605 commit 34da36b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/param.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ use std::fmt::Write;

use crate::{ParamId, ParamValue};

type ParseFn = dyn Fn(&str) -> Option<ParamValue> + Send + Sync;
type DisplayFn = dyn Fn(ParamValue, &mut dyn Write) + Send + Sync;
pub type ParseFn = dyn Fn(&str) -> Option<ParamValue> + Send + Sync;
pub type DisplayFn = dyn Fn(ParamValue, &mut dyn Write) + Send + Sync;

pub struct ParamInfo {
pub id: ParamId,
Expand Down

0 comments on commit 34da36b

Please sign in to comment.