refact: Make the callback convert to Result<String> immediately
This is slightly easier to use than the previous pattern that was always followed up by the same conversions. (cherry picked from commit 756c080730cd4fa81d4c0e3a99688cbe8debe57f)
This commit is contained in:
parent
9a6ef0489e
commit
4688ccbf95
6 changed files with 61 additions and 43 deletions
|
|
@ -1,3 +1,4 @@
|
|||
pub mod context;
|
||||
pub mod settings;
|
||||
#[macro_use]
|
||||
pub mod string_return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue