File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ use crate::time::Instant;
1212
1313const LINERA_NAMESPACE : & str = "linera" ;
1414
15- /// Wrapper arount prometheus register_int_counter_vec! macro which also sets the linera namespace
15+ /// Wrapper around prometheus register_int_counter_vec! macro which also sets the linera namespace
1616pub fn register_int_counter_vec (
1717 name : & str ,
1818 description : & str ,
@@ -22,7 +22,7 @@ pub fn register_int_counter_vec(
2222 register_int_counter_vec ! ( counter_opts, label_names) . expect ( "IntCounter can be created" )
2323}
2424
25- /// Wrapper arount prometheus register_histogram_vec! macro which also sets the linera namespace
25+ /// Wrapper around prometheus register_histogram_vec! macro which also sets the linera namespace
2626pub fn register_histogram_vec (
2727 name : & str ,
2828 description : & str ,
@@ -70,14 +70,14 @@ impl<Metric> ActiveMeasurementGuard<'_, Metric>
7070where
7171 Metric : MeasureLatency ,
7272{
73- /// Finishes the measurement, updates the `Metric` and the returns the measured latency in
73+ /// Finishes the measurement, updates the `Metric` and returns the measured latency in
7474 /// milliseconds.
7575 pub fn finish ( mut self ) -> f64 {
7676 self . finish_by_ref ( )
7777 }
7878
7979 /// Finishes the measurement without taking ownership of this [`ActiveMeasurementGuard`],
80- /// updates the `Metric` and the returns the measured latency in milliseconds.
80+ /// updates the `Metric` and returns the measured latency in milliseconds.
8181 fn finish_by_ref ( & mut self ) -> f64 {
8282 match self . metric . take ( ) {
8383 Some ( metric) => {
Original file line number Diff line number Diff line change @@ -130,7 +130,7 @@ impl InitialStateBuilder {
130130 }
131131
132132 /// Returns the serialized initial state of the application, ready to used as the
133- /// initilization argument.
133+ /// initialization argument.
134134 pub fn build ( & self ) -> InitialState {
135135 InitialState {
136136 accounts : self . account_balances . clone ( ) ,
You can’t perform that action at this time.
0 commit comments