Skip to content

Commit 3e1a484

Browse files
fix some docs
1 parent 81511e1 commit 3e1a484

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/metadata/libfunc_counter.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#![cfg(feature = "with-libfunc-counter")]
22
//! The libfunc counter feature is used to generate information counting how many time a libfunc has been called.
33
//!
4-
//! When this feature is used, the compiler will call the important methods:
4+
//! When this feature is used, the compiler will call three important methods:
55
//!
66
//! 1. `count_libfunc`: called before every libfunc execution.
77
//!
@@ -156,8 +156,8 @@ impl LibfuncCounterMeta {
156156
block.append_op_result(memref::load(libfunc_counter_id_ptr, &[], location))
157157
}
158158

159-
/// Indexes the array of counters and increments
160-
/// the one relative to the given libfunc index
159+
/// Indexes the array of counters and increments the counter relative
160+
/// to the given libfunc index
161161
pub fn store_array_counter(
162162
&mut self,
163163
context: &Context,

0 commit comments

Comments
 (0)