Skip to content

Commit d9ad6d2

Browse files
authored
docs: fix link in AbstractString docstring (#50436)
1 parent 2a406b2 commit d9ad6d2

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

base/strings/basic.jl

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,7 @@ about strings:
1616
* Each `AbstractChar` in a string is encoded by one or more code units
1717
* Only the index of the first code unit of an `AbstractChar` is a valid index
1818
* The encoding of an `AbstractChar` is independent of what precedes or follows it
19-
* String encodings are [self-synchronizing] – i.e. `isvalid(s, i)` is O(1)
20-
21-
[self-synchronizing]: https://en.wikipedia.org/wiki/Self-synchronizing_code
19+
* String encodings are [self-synchronizing](https://en.wikipedia.org/wiki/Self-synchronizing_code) – i.e. `isvalid(s, i)` is O(1)
2220
2321
Some string functions that extract code units, characters or substrings from
2422
strings error if you pass them out-of-bounds or invalid string indices. This

0 commit comments

Comments
 (0)