diff options
author | JJ | 2024-01-28 05:47:54 +0000 |
---|---|---|
committer | JJ | 2024-01-28 05:47:54 +0000 |
commit | 6da57c3a2c5c222591b0994acce79183b81d7f99 (patch) | |
tree | 7bb503ddac1a50d742ac1950a012dfb9adbc9e64 /docs | |
parent | fde7a1311543badd1052a757d1e2c68272be1188 (diff) |
std: rename std.pointers to std.mem
Diffstat (limited to 'docs')
-rw-r--r-- | docs/ERRORS.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/ERRORS.md b/docs/ERRORS.md index a6e7a6a..4f99e7c 100644 --- a/docs/ERRORS.md +++ b/docs/ERRORS.md @@ -72,7 +72,7 @@ finally: ... ``` -This creates a distinction between two types of error handling, working in sync: functional error handling with [Option](https://en.wikipedia.org/wiki/Option_type) and [Result](https://en.wikipedia.org/wiki/Result_type) types, and object-oriented error handling with [catchable exceptions](https://en.wikipedia.org/wiki/Exception_handling). These styles may be swapped between with minimal syntax overhead. Libraries, however, should universally use `Option`/`Result`, as this provides the best support for both styles. +This creates a distinction between two types of error handling, working in sync: functional error handling with [Option](https://en.wikipedia.org/wiki/Option_type) and [Result](https://en.wikipedia.org/wiki/Result_type) types, and object-oriented error handling with [catchable exceptions](https://en.wikipedia.org/wiki/Exception_handling). These styles may be swapped between with minimal syntactic overhead. Libraries, however, should universally use `Option`/`Result`, as this provides the best support for both styles. <!-- [nullable types](https://en.wikipedia.org/wiki/Nullable_type)?? --> |