This patch addresses the clippy::unnecessary_unwrap in the one case where it was occurring. In this case, I think just adding a local exception is the best for this issue, as the way to address this lint in the current form makes the code a little less clear.
This patch addresses the
clippy::unnecessary_unwrap
in the one case where it was occurring. In this case, I think just adding a local exception is the best for this issue, as the way to address this lint in the current form makes the code a little less clear.