Skip to content

Commit 2b46036

Browse files
omahsTilakMaddy
andauthored
fix(code-comments): typos (#970)
Co-authored-by: Tilak Madichetti <[email protected]>
1 parent e59184d commit 2b46036

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

aderyn_core/src/ast/impls/ctx/utils.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ impl ContractDefinition {
5858
impl FunctionCall {
5959
/// Returns the function definition referenced by the function call. In practice, it's not
6060
/// always the case that the function call will resolve to the referenced declaration. However,
61-
/// the the type identifier of the real function (possibly overriding function) would be
61+
/// the type identifier of the real function (possibly overriding function) would be
6262
/// conserved i.e the same as the suspected target function
6363
///
6464
/// Also see [`FunctionCall::is_internal_call`]
@@ -116,7 +116,7 @@ impl FunctionCall {
116116
impl ModifierInvocation {
117117
/// Returns the modifier definition referenced by the modifier invocation. In practice, it's not
118118
/// always the case that the function call will resolve to the referenced declaration. However,
119-
/// the the type identifier of the real modifier (possibly overriding modifier) would be
119+
/// the type identifier of the real modifier (possibly overriding modifier) would be
120120
/// conserved i.e the same as the suspected target modifier
121121
#[inline]
122122
pub fn suspected_target_modifier<'a>(

aderyn_core/src/context/flow.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ impl Cfg {
300300
/// This is hard to perform at the time of reduction so it must be done post-reduction.
301301
///
302302
/// Continue CFG Nodes should flow back the parent loop's condition node in case of a `while` or
303-
/// `do while` and likewise to the the parent loop's update expression in case of `for`.
303+
/// `do while` and likewise to the parent loop's update expression in case of `for`.
304304
///
305305
/// Break CFG Nodes should always flow to the end of the parent loop
306306
///

aderyn_core/src/context/router.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ use std::collections::HashMap;
4545
/// TODO:
4646
/// Given a library resolve external calls made to public or external functions (delegate calls).
4747
/// It's actually straightforward - Just directly return target suspect. But right now there is no
48-
/// requirement for this. Therefore, I'lll pass on this one until I see a need.
48+
/// requirement for this. Therefore, I'll pass on this one until I see a need.
4949
///
5050
/// -----------
5151
///

aderyn_core/src/detect/high/storage_array_memory_edit.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ impl IssueDetector for StorageArrayMemoryEditDetector {
2121
// get all Identifiers with argumentTypes
2222
// If any of them are of the type storage,
2323
// grab the index of that param in the array of argument types
24-
// get the refereddeclaration node of the identifier (a function)
24+
// get the referreddeclaration node of the identifier (a function)
2525
// get parameter at that index and check if the storageLocation is not storage
2626
// if not, capture it.
2727

0 commit comments

Comments
 (0)