richox opened a new issue, #1637:
URL: https://github.com/apache/auron/issues/1637

   **Is your feature request related to a problem? Please describe.**
   <!--
   A clear and concise description of what the problem is. Ex. I'm always 
frustrated when [...]
   -->
   Cloudflare experienced several hours of downtime, resulting in a loss of 
billions of dollars in market value because of a `Result::unwrap()` call. we 
should learn from that and forbid `.unwrap()` in our codebase.
   
   **Describe the solution you'd like**
   <!--
   A clear and concise description of what you want to happen.
   -->
   add `#![deny(clippy::unwrap_used)]` to all modules. so no unwrap call is 
allowed in the code. as a walkaround, developers are likely to use 
`.expect("... some reason why this extraction is always valid ...")` to extract 
the value.
   
   **Describe alternatives you've considered**
   <!--
   A clear and concise description of any alternative solutions or features 
you've considered.
   -->
   
   **Additional context**
   <!--
   Add any other context or screenshots about the feature request here.
   -->
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to