Skip to content

Commit fdd7c92

Browse files
committed
Fixed typos
Change "cannot" and "exisst" to "can not" and "exist" respectively. [ticket: X]
1 parent 396b6f6 commit fdd7c92

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

doc/specs/stdlib_hashmaps.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -950,7 +950,7 @@ The extension types provide
950950
procedures to manipulate the structure of a hash map object:
951951
`init`, `map_entry`, `rehash`, `remove_entry`, and
952952
`set_other_data`. They also provide procedures to inquire about
953-
entries in the hash map: `get_other_data`, `in_map`, and
953+
entries in the hash map: `get_other_data`, and
954954
`valid_key`. Finally they provide procedures to inquire about the
955955
overall structure and performance of the hash map object:`calls`,
956956
`entries`, `get_other_data`, `loading`, `slots`, and
@@ -1172,7 +1172,6 @@ as follows:
11721172
type(chaining_map_entry_ptr), allocatable :: slots(:)
11731173
contains
11741174
procedure :: get_other_data => get_other_chaining_data
1175-
procedure :: in_map => in_chain_map
11761175
procedure :: init => init_chaining_map
11771176
procedure :: loading => chaining_loading
11781177
procedure :: map_entry => map_chain_entry
@@ -1244,7 +1243,6 @@ as follows:
12441243
integer(int_index), allocatable :: slots(:)
12451244
contains
12461245
procedure :: get_other_data => get_other_open_data
1247-
procedure :: in_map => in_open_map
12481246
procedure :: init => init_open_map
12491247
procedure :: loading => open_loading
12501248
procedure :: map_entry => map_open_entry
@@ -1375,7 +1373,7 @@ Returns the number of entries in a hash map.
13751373

13761374
##### Syntax
13771375

1378-
`value = [[stdlib_hashmaps:map%entries]]()`
1376+
`value = [[stdlib_hashmaps:map % entries]]()`
13791377

13801378
##### Class
13811379

@@ -1422,7 +1420,7 @@ Returns the other data associated with the `key`,
14221420

14231421
##### Syntax
14241422

1425-
`value = [[stdlib_hashmaps:map%get_other_data)]]( key, other [, exists] )`
1423+
`value = [[stdlib_hashmaps:map % get_other_data)]]( key, other [, exists] )`
14261424

14271425
##### Class
14281426

@@ -1452,7 +1450,6 @@ exists in the map, if `.false.` `other` is undefined.
14521450
associated with a `key`:
14531451

14541452

1455-
14561453
```Fortran
14571454
program demo_get_other_data
14581455
use, intrinsic:: iso_fortran_env, only: &
@@ -1909,8 +1906,8 @@ the other data for the entry with the key value, `key`.
19091906
`exists` (optional): shall be a scalar variable of type default
19101907
logical. It is an `intent(out)` argument. If present with the value
19111908
`.true.` an entry with that key existed in the map and its `other`
1912-
data was replaced, otherwise if `exists` is `.false.` the entry didnot
1913-
exisst and nothing was done.
1909+
data was replaced, otherwise if `exists` is `.false.` the entry did
1910+
not exist and nothing was done.
19141911

19151912

19161913
##### Example

0 commit comments

Comments
 (0)