diff options
author | Benno Lossin <benno.lossin@proton.me> | 2023-04-08 15:25:29 +0300 |
---|---|---|
committer | Miguel Ojeda <ojeda@kernel.org> | 2023-04-12 19:41:05 +0300 |
commit | d6dbca3592209d29c10e171224c34803805e88ca (patch) | |
tree | 12bd06587d811debc295c81cdf1c0befa76d4f93 /scripts/extract_xc3028.pl | |
parent | 70a21e54a42232f1056db7f05a194f56e03e7d3e (diff) | |
download | linux-d6dbca3592209d29c10e171224c34803805e88ca.tar.xz |
rust: sync: change error type of constructor functions
Change the error type of the constructors of `Arc` and `UniqueArc` to be
`AllocError` instead of `Error`. This makes the API more clear as to
what can go wrong when calling `try_new` or its variants.
Signed-off-by: Benno Lossin <benno.lossin@proton.me>
Reviewed-by: Andreas Hindborg <a.hindborg@samsung.com>
Reviewed-by: Alice Ryhl <aliceryhl@google.com>
Reviewed-by: Gary Guo <gary@garyguo.net>
Link: https://lore.kernel.org/r/20230408122429.1103522-4-y86-dev@protonmail.com
Signed-off-by: Miguel Ojeda <ojeda@kernel.org>
Diffstat (limited to 'scripts/extract_xc3028.pl')
0 files changed, 0 insertions, 0 deletions