diff options
author | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 16:49:29 -0700 |
---|---|---|
committer | Richard Walters <rwalters@digitalstirling.com> | 2020-10-13 16:49:29 -0700 |
commit | 1aad71d0f34638864748eb3ecdc55daf48ab5ecd (patch) | |
tree | ff5a00e2349732fb67a64d519887185315fdb2c1 /src/error.rs | |
parent | a7e33fedada38f4454483eebb506633afde6be5e (diff) |
Fix issue with naming
Use "to_" prefix instead of "as_" for functions which create
values (expensive).
See: https://rust-lang.github.io/api-guidelines/naming.html#ad-hoc-conversions-follow-as_-to_-into_-conventions-c-conv
Diffstat (limited to 'src/error.rs')
0 files changed, 0 insertions, 0 deletions