Yes, `&*foo` is meaningful. For example, `Vec<T>` becomes `[T]` and then `&[T]`.
Yes, a `Box<dyn Error>` is about the most rudimentary way of returning an arbitrary error, but it’s better than a panic or a sentinel value.
Yes, a `Box<dyn Error>` is about the most rudimentary way of returning an arbitrary error, but it’s better than a panic or a sentinel value.
In that crate the &*msg.interface().unwrap() magically become an &str !
For example, the standard library `String` type dereferences to `str` which you can then re-reference to `&str`.
ameliaquining awnsered my question and you modulated my opinion, that pattern is can be idiomatic when the principle of minimal surprises is respected.