Skip to content

Commit 585514b

Browse files
committed
Adjust message
1 parent 0c7668e commit 585514b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/linting/checks.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ const LintCodeDescriptions = Dict{LintCodes,String}(
6262
CannotDefineFuncAlreadyHasValue => "Cannot define function ; it already has a value.",
6363
DuplicateFuncArgName => "Function argument name not unique.",
6464
IncludePathContainsNULL => "Cannot include file, path contains NULL characters.",
65-
IndexFromLength => "Indexing with indices obtained from `for i in 1:length(...)` and similar is discouraged. Use `eachindex` instead."
65+
IndexFromLength => "Indexing with indices obtained from `length`, `size` etc is discouraged. Use `eachindex` or `axes` instead."
6666
)
6767

6868
haserror(m::Meta) = m.error !== nothing

0 commit comments

Comments
 (0)