Drakulix / simplelog.rs

Simple Logging Facility for Rust
https://docs.rs/simplelog/
Apache License 2.0
439 stars 73 forks source link

`Send` Requirement for `WriteLogger` generic #16

Closed lawliet89 closed 6 years ago

lawliet89 commented 6 years ago

Is there a reason why the generic W for WriteLogger must be Send? The struct already moves the value in, and then wraps it in a Mutex. Mutex impls Send regardless of whether its encapsulated type is Send or not.

lawliet89 commented 6 years ago

Oops never mind, I'm a retard. I didn't read the documentation properly. Sorry. (I missed the T: Send)