diff options
author | Benno Lossin <[email protected]> | 2023-04-08 12:25:29 +0000 |
---|---|---|
committer | Miguel Ojeda <[email protected]> | 2023-04-12 18:41:05 +0200 |
commit | d6dbca3592209d29c10e171224c34803805e88ca (patch) | |
tree | 12bd06587d811debc295c81cdf1c0befa76d4f93 /scripts/gdb/linux/proc.py | |
parent | 70a21e54a42232f1056db7f05a194f56e03e7d3e (diff) |
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 <[email protected]>
Reviewed-by: Andreas Hindborg <[email protected]>
Reviewed-by: Alice Ryhl <[email protected]>
Reviewed-by: Gary Guo <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Miguel Ojeda <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/proc.py')
0 files changed, 0 insertions, 0 deletions