From 1e94d44ce85a1ff2a2437d9915287440289b5aa9 Mon Sep 17 00:00:00 2001 From: Eval EXEC Date: Mon, 6 Mar 2023 12:57:01 +0800 Subject: [PATCH] Fix typos It should be `flashable` instead of `flash able` Signed-off-by: Eval EXEC --- static-metric/src/lib.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/static-metric/src/lib.rs b/static-metric/src/lib.rs index fdb70b4f..a1c85ffa 100644 --- a/static-metric/src/lib.rs +++ b/static-metric/src/lib.rs @@ -44,7 +44,7 @@ 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 { @@ -52,7 +52,7 @@ pub fn make_auto_flush_static_metric(input: TokenStream) -> TokenStream { 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();