From 469f8ac31da8d56e8bfc07daea1b4857403a9a2d Mon Sep 17 00:00:00 2001 From: "B. Petersen" Date: Wed, 9 Oct 2019 01:26:14 +0200 Subject: [PATCH] make stock_string_repl_str2() public as the other members --- src/stock.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stock.rs b/src/stock.rs index cf9bb77c3..dbc7a4bf1 100644 --- a/src/stock.rs +++ b/src/stock.rs @@ -192,7 +192,7 @@ impl Context { /// placeholders with the string in `insert` and does the same for /// `%2$s`, `%2$d` and `%2$@` for `insert2`. /// (the `%1$@` variant is used on iOS, the other are used on Android and Desktop) - fn stock_string_repl_str2( + pub fn stock_string_repl_str2( &self, id: StockMessage, insert: impl AsRef,