Skip to content

Commit 7d38373

Browse files
committed
Small style edit for consistency
1 parent 6d8efed commit 7d38373

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/stdlib_strings.f90

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ pure function replace_all_char_char_char(string, pattern, replacement) result(re
612612
character(len=*), intent(in) :: string
613613
character(len=*), intent(in) :: pattern
614614
character(len=*), intent(in) :: replacement
615-
character(:), allocatable :: res
615+
character(len=:), allocatable :: res
616616
integer :: lps_array(len(pattern))
617617
integer :: s_i, p_i, last, length_string, length_pattern
618618

@@ -626,7 +626,7 @@ pure function replace_all_char_char_char(string, pattern, replacement) result(re
626626

627627
s_i = 1
628628
p_i = 1
629-
do while(s_i <= length_string)
629+
do while (s_i <= length_string)
630630
if (string(s_i:s_i) == pattern(p_i:p_i)) then
631631
if (p_i == length_pattern) then
632632
res = res // &

0 commit comments

Comments
 (0)