Do you know that there's From<&'_ str> for Box<dyn Error> implementation in stdlib, which allows you to use strings with ? operator?
почему мне не сказали об этом раньше?
Очевидно, что эта штука копирует всю строку в String.
Эрик
red75prime
Alexey
mental
kitsu
Pavel Tyavin
Anonymous
VCL
Αλεχ
Boris
Andrey
вафля