Skip to content

Commit

Permalink
Update src/deprecations.jl
Browse files Browse the repository at this point in the history
  • Loading branch information
mcabbott authored Mar 18, 2024
1 parent 2b023ca commit a33e6db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/deprecations.jl
Original file line number Diff line number Diff line change
Expand Up @@ -196,7 +196,7 @@ end
# Greek-letter keywords deprecated in Flux 0.13
# Arguments (old => new, :function, "β" => "beta")
function _greek_ascii_depwarn(βbeta::Pair, func = :loss, names = "" => "")
Base.depwarn(LazyString("function $func no longer accepts greek-letter keyword ", names.first, """
Base.depwarn(LazyString("function ", func, " no longer accepts greek-letter keyword ", names.first, """

Check warning on line 199 in src/deprecations.jl

View check run for this annotation

Codecov / codecov/patch

src/deprecations.jl#L199

Added line #L199 was not covered by tests
please use ascii """, names.second, " instead"), func)
βbeta.first
end
Expand Down

0 comments on commit a33e6db

Please sign in to comment.