From a33e6dbb92f340144424758d111b4e0e36c7535f Mon Sep 17 00:00:00 2001 From: Michael Abbott <32575566+mcabbott@users.noreply.github.com> Date: Mon, 18 Mar 2024 15:38:06 -0400 Subject: [PATCH] Update src/deprecations.jl --- src/deprecations.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/deprecations.jl b/src/deprecations.jl index 12a73ae6f6..5acdec5455 100644 --- a/src/deprecations.jl +++ b/src/deprecations.jl @@ -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, """ please use ascii """, names.second, " instead"), func) βbeta.first end