Skip to content

tor-bytes: deprecate always_bug with From trait

Clara Engler requested to merge cve/arti:always_bug-from into main

This commit replaces the always_bug function inside the tor_bytes::err module with a From trait, which is in my opinion better from a semantic point of view.

Beside this, I personally do not see any reason why this approach should be more unreliable than the current one.

Merge request reports

Loading