11 Commits

Author SHA1 Message Date
Dario Nieuwenhuis
45f6a64d5e nb: do not swallow errors in fmt::Write. 2025-04-14 14:37:09 +02:00
Mathias Pius
46a52222e2
Fix clippy error 2025-04-14 13:33:35 +02:00
Jan Niehusmann
9a1921ab87 Fix several clippy warnings in current stable / beta 2024-11-22 19:01:07 +00:00
Ralph Ursprung
91cf7e18bd
implement core::error::Error
this trait has been stabilised in Rust 1.81.0.

the existing custom `Error` types cannot be removed / replaced as that'd
be a breaking change. for the same reason it's not possible for them to
require `core::error::Error` being implemented.

however, we can already implement the new trait for all cases where the
custom trait has been implemented so far.

existing `std` feature-gated implementations of `std::error::Error` have
also been moved to `core::error::Error` and the feature gate removed.

this raises the MSRV to 1.81.0 for most crates, but based on the MSRV
policy this should not be an issue.
2024-09-09 16:22:35 +02:00
Dario Nieuwenhuis
f593acb2b0 Fixes for 1.80 clippy. 2024-07-26 12:11:00 +02:00
Yuri Astrakhan
7bcaa871d6 Fix doc links and one incorrect type name 2023-08-31 23:59:18 -04:00
Zhouqi Jiang
8296af2e29
e-h-nb: inline hints, document fixes.
Signed-off-by: Zhouqi Jiang <luojia@hust.edu.cn>
2023-08-23 10:22:20 +08:00
Dario Nieuwenhuis
9ac61a73d7 Add + ?Sized to all blanket impls. 2023-07-12 17:44:09 +02:00
Dario Nieuwenhuis
931dd37ad6 Remove serial traits (blocking and async). 2023-07-05 00:19:25 +02:00
Diego Barrios Romero
eb55f84fde Update link 2022-09-26 16:37:39 +02:00
Dario Nieuwenhuis
3b6b07d3e4 Split nb and can traits to separate crates. 2022-09-26 13:29:34 +02:00