File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff 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]
5050pub 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]
5757pub fn auto_flush_from ( input : TokenStream ) -> TokenStream {
5858 let def: AutoFlushFromDef = syn:: parse ( input) . unwrap ( ) ;
You can’t perform that action at this time.
0 commit comments