From c62e714119012f83efce24769d5bc3e55004d49c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Fri, 23 Feb 2018 10:39:08 +0100 Subject: [PATCH 1/2] Fix broken links to functions in the manual I have used `@Ref` instead of `@ref` and links are broken. This PR fixes this. --- doc/src/manual/parallel-computing.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/src/manual/parallel-computing.md b/doc/src/manual/parallel-computing.md index e1c63f3847c33..66c225aa13165 100644 --- a/doc/src/manual/parallel-computing.md +++ b/doc/src/manual/parallel-computing.md @@ -1511,8 +1511,8 @@ For instance functions that have their [name ending with `!`](https://docs.julialang.org/en/latest/manual/style-guide/#Append-!-to-names-of-functions-that-modify-their-arguments-1) by convention modify their arguments and thus are not pure. However, there are functions that have side effects and their name does not end with `!`. For -instance [`findfirst(regex, str)`](@Ref) mutates its `regex` argument or -[`rand()`](@Ref) changes `Base.GLOBAL_RNG` : +instance [`findfirst`](@ref) mutates its `regex` argument or +[`rand`](@ref) changes `Base.GLOBAL_RNG` : ```julia-repl julia> using Base.Threads @@ -1574,7 +1574,7 @@ creates separate instances of `Regex` object for each entry of `rx` vector. The case of `rand` is a bit more complex as we have to ensure that each thread uses non-overlapping pseudorandom number sequences. This can be simply ensured -by using [`randjump`](@Ref) function: +by using [`randjump`](@ref) function: ```julia-repl From e321bc1d4758a9cb620d004893ddd350f7809cfa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bogumi=C5=82=20Kami=C5=84ski?= Date: Fri, 23 Feb 2018 20:42:13 +0100 Subject: [PATCH 2/2] add findfirst signature --- doc/src/manual/parallel-computing.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/src/manual/parallel-computing.md b/doc/src/manual/parallel-computing.md index 66c225aa13165..18895a0386e98 100644 --- a/doc/src/manual/parallel-computing.md +++ b/doc/src/manual/parallel-computing.md @@ -1511,8 +1511,8 @@ For instance functions that have their [name ending with `!`](https://docs.julialang.org/en/latest/manual/style-guide/#Append-!-to-names-of-functions-that-modify-their-arguments-1) by convention modify their arguments and thus are not pure. However, there are functions that have side effects and their name does not end with `!`. For -instance [`findfirst`](@ref) mutates its `regex` argument or -[`rand`](@ref) changes `Base.GLOBAL_RNG` : +instance [`findfirst(regex, str)`](@ref) mutates its `regex` argument or +[`rand()`](@ref) changes `Base.GLOBAL_RNG` : ```julia-repl julia> using Base.Threads