Skip to content

Commit 3a3f7b0

Browse files
committed
[#52] Corrected spelling errors
1 parent 2f23966 commit 3a3f7b0

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

endure-macros/src/lib.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,7 @@ pub fn audit_profile_check(input: TokenStream) -> TokenStream {
175175

176176
/// A macro conditionally adding an auditor to the analyzer.
177177
///
178-
/// This macro eliminates a repeatitive code in the packet analyzer which
178+
/// This macro eliminates a repetitive code in the packet analyzer which
179179
/// checks if the specified auditor should be installed for the particular
180180
/// profile. The auditors must implement the `AuditProfileCheck` trait.
181181
///

src/analyzer.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ impl Analyzer {
128128
}
129129
}
130130

131-
/// Runs generic auditors for the recieved packet.
131+
/// Runs generic auditors for the received packet.
132132
///
133133
/// # Parameters
134134
///

src/auditor/util.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -178,7 +178,7 @@ where
178178
/// counter.
179179
///
180180
/// A typical application of the [`TotalCounter`] is when an auditor counts
181-
/// several types of the processed messages and needs to calculate occurence
181+
/// several types of the processed messages and needs to calculate occurrence
182182
/// percentage of each message type among all messages.
183183
///
184184
/// # Generic Parameters
@@ -187,7 +187,7 @@ where
187187
///
188188
/// # Usage Example
189189
///
190-
/// Suppose you want to track the occurence of 3 message types. The [`TotalCounter`]
190+
/// Suppose you want to track the occurrence of 3 message types. The [`TotalCounter`]
191191
/// can be used as follows to display the percentages for each counter:
192192
///
193193
/// ```rust

0 commit comments

Comments
 (0)