Skip to content

Commit f0c9bc2

Browse files
authored
static-metric: fix typos in docstrings (#479)
It should be `flashable` instead of `flash able` Signed-off-by: Eval EXEC <[email protected]>
1 parent 04fce2f commit f0c9bc2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

static-metric/src/lib.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@ pub fn make_static_metric(input: TokenStream) -> TokenStream {
4444
TokensBuilder::build(body).into()
4545
}
4646

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

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

0 commit comments

Comments
 (0)