Skip to content

Commit

Permalink
Fix typos
Browse files Browse the repository at this point in the history
It should be `flashable` instead of `flash able`

Signed-off-by: Eval EXEC <execvy@gmail.com>
  • Loading branch information
eval-exec committed May 6, 2024
1 parent 04fce2f commit 1e94d44
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions static-metric/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -44,15 +44,15 @@ pub fn make_static_metric(input: TokenStream) -> TokenStream {
TokensBuilder::build(body).into()
}

/// Build auto flush able static metrics.
/// Build auto flushable static metrics.
/// refer to https://github.com/tikv/rust-prometheus/tree/master/static-metric for more info.
#[proc_macro]
pub fn make_auto_flush_static_metric(input: TokenStream) -> TokenStream {
let body: StaticMetricMacroBody = syn::parse(input).unwrap();
AutoFlushTokensBuilder::build(body).into()
}

/// Instantiate a auto flush able static metric struct from a HistogramVec or CounterVec.
/// Instantiate an auto flushable static metric struct from a HistogramVec or CounterVec.
#[proc_macro]
pub fn auto_flush_from(input: TokenStream) -> TokenStream {
let def: AutoFlushFromDef = syn::parse(input).unwrap();
Expand Down

0 comments on commit 1e94d44

Please sign in to comment.