Skip to content

Commit

Permalink
Fix codespell issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Manangka committed Apr 23, 2024
1 parent 050f109 commit ba77c80
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/Utilities/KeyValueList.f90
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ function get(this, key) result(value)

end function

!> @brief Find a node in the list fullfilling a predicate.
!> @brief Find a node in the list fulfilling a predicate.
!!
!! If the key can't be found the return value will be a null pointer
!<
Expand All @@ -107,7 +107,7 @@ function find_node(this, predFunc, arg) result(res)
class(KeyValueListType), intent(inout), target :: this
procedure(predicate) :: predFunc !< The predicate function
class(*), optional, pointer :: arg !< optional argument used in the predicate
type(KeyValueNodeType), pointer :: res !< node that fullfills the predicate
type(KeyValueNodeType), pointer :: res !< node that fulfills the predicate
! -- local
integer(I4B) :: current_index !< current index in the loop

Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/KeyValueListIterator.f90
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module KeyValueListIteratorModule
use KindModule, only: I4B
use KeyValueListModule, only: KeyValueListType, KeyValueNodeType

!> @brief An iterator used to iterate throuh a KeyValueList
!> @brief An iterator used to iterate through a KeyValueList
!!
!<
type :: KeyValueListIteratorType
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/Memory/MemoryHashTable.f90
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ end subroutine add

!> @brief Get a MemoryType from the HashTable using a key
!!
!! The name and mem_path are used to contruct the key for the lookup.
!! The name and mem_path are used to construct the key for the lookup.
!! Function returns a MemoryType pointer if the key is found.
!! If the key is not found a null pointer is returned.
!<
Expand Down
4 changes: 2 additions & 2 deletions src/Utilities/Memory/MemoryHashTableIterator.f90
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ module MemoryHashTableIteratorModule

public :: MemoryHashTableIteratorType

!> @brief An iterator used to iterate throuh a MemoryHashTable
!> @brief An iterator used to iterate through a MemoryHashTable
!!
!<
type :: MemoryHashTableIteratorType
type(PtrHashTableIteratorType) :: hashtable_iterator !< the current iterator to the underlaying hastable
type(PtrHashTableIteratorType) :: hashtable_iterator !< the current iterator to the underlying hashtable
contains
procedure :: has_next
procedure :: next
Expand Down
2 changes: 1 addition & 1 deletion src/Utilities/PtrHashTableIterator.f90
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ module PtrHashTableIteratorModule

public :: PtrHashTableIteratorType

!> @brief An iterator used to iterate throuh a PtrHashTable
!> @brief An iterator used to iterate through a PtrHashTable
!!
!<
type :: PtrHashTableIteratorType
Expand Down

0 comments on commit ba77c80

Please sign in to comment.