Skip to content

Commit 00de2b7

Browse files
committed
fixed an error in documentation of stringlist
1 parent bfad13d commit 00de2b7

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

doc/specs/stdlib_stringlist_type.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ program demo_equality_operator
421421
res = ( stringlist == ["#4", "#3", "#2", "#1"] )
422422
! res <-- .true.
423423
424-
print'(a)', stringlist == ["#4", "#3", "#1"]
424+
print *, stringlist == ["#4", "#3", "#1"]
425425
! .false.
426426
427427
end program demo_equality_operator
@@ -491,7 +491,7 @@ program demo_inequality_operator
491491
res = ( stringlist /= ["#111", "#222", "#333", "#444"] )
492492
! res <-- .true.
493493
494-
print'(a)', stringlist /= ["#4", "#3", "#1"]
494+
print *, stringlist /= ["#4", "#3", "#1"]
495495
! .true.
496496
497497
end program demo_inequality_operator

src/stdlib_stringlist_type.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
! insert BEFORE: Inserts an element BEFORE the element present currently at the asked index
1212
! insert AFTER: Inserts an element AFTER the element present currently at the asked index
1313
!
14-
! Note the distinction between AT and BEFORE in the module. Care has been taken to keep it consistent
15-
! throughout the PR
14+
! Note the distinction between AT and BEFORE in the whole module. Care has been taken to
15+
! keep this terminology consistent throughout the module.
1616
!
1717
module stdlib_stringlist_type
1818
use stdlib_string_type, only: string_type, operator(/=), move

0 commit comments

Comments
 (0)