Skip to content

Commit bab3763

Browse files
authored
Merge pull request #39 from DilumAluthge/da/confusing-docstring
Fix a potentially confusing docstring
2 parents f30cef5 + 1803228 commit bab3763

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/check.jl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ To throw an error if any warnings occur inside any functions, set
2626
2727
To throw an error if any warnings occur inside any functions EXCEPT for a
2828
certain set of functions, list the exceptions in the `except` variable,
29-
for example `except=[f,g,h]`
29+
for example `except=[g,h]`
3030
"""
3131
function check(f; nowarn=Any[], except=Any[], kwargs...)
3232
if !isempty(except) # if `except` is provided, we ignore the value of `nowarn`
@@ -71,7 +71,7 @@ To throw an error if any warnings occur inside any functions, set
7171
7272
To throw an error if any warnings occur inside any functions EXCEPT for a
7373
certain set of functions, list the exceptions in the `except` variable,
74-
for example `except=[f,g,h]`
74+
for example `except=[g,h]`
7575
"""
7676
macro check(expr, args...)
7777
quote

0 commit comments

Comments
 (0)