Skip to content

Commit 64225ff

Browse files
committed
corrected errors in documentation
1 parent ea1a9bb commit 64225ff

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
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 *, stringlist == ["#4", "#3", "#1"]
424+
print'(l0)', 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 *, stringlist /= ["#4", "#3", "#1"]
494+
print'(l0)', stringlist /= ["#4", "#3", "#1"]
495495
! .true.
496496
497497
end program demo_inequality_operator

doc/specs/stdlib_strings.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -146,8 +146,8 @@ The result is of scalar logical type.
146146
program demo
147147
use stdlib_strings, only : starts_with
148148
implicit none
149-
print'(a)', starts_with("pattern", "pat") ! T
150-
print'(a)', starts_with("pattern", "ern") ! F
149+
print'(l0)', starts_with("pattern", "pat") ! T
150+
print'(l0)', starts_with("pattern", "ern") ! F
151151
end program demo
152152
```
153153

@@ -188,8 +188,8 @@ The result is of scalar logical type.
188188
program demo
189189
use stdlib_strings, only : ends_with
190190
implicit none
191-
print'(a)', ends_with("pattern", "ern") ! T
192-
print'(a)', ends_with("pattern", "pat") ! F
191+
print'(l0)', ends_with("pattern", "ern") ! T
192+
print'(l0)', ends_with("pattern", "pat") ! F
193193
end program demo
194194
```
195195

0 commit comments

Comments
 (0)