Shrink unsafe block for the imp mod
@peamaeq First, I appreciate the PR and really appreciate others taking a critical eye to log4rs. My concern here is that we're not actually making things any safer and that by shrinking the unsafe block it can obfuscate what is "unsafe".
To see what I mean have a look at this chapter of the rustnomicon. The essence is that even safe code can be "unsafe", for example, it's not the free that is undefined, it's the dereference, and dereferencing a pointer is not unsafe. This is all to say, while I agree we should strive to minimize unsafe code in rust, I think this changeset comes at too high a cost to readability.
Closing no response