Re: [libvirt] [PATCH Rust 1/4] connect: cleanup around Connect::open_auth()'s method

2019-07-24 Thread Martin Kletzander
On Wed, Jul 17, 2019 at 08:59:30AM +, Sahid Orentino Ferdjaoui wrote: In this refactor we avoid to enclose all the code with unsafe tags and just use it when necessary. Also we add annotations to explain why it's safe to use. The integrations tests related are also been reviewed to avoid

[libvirt] [PATCH Rust 1/4] connect: cleanup around Connect::open_auth()'s method

2019-07-17 Thread Sahid Orentino Ferdjaoui
In this refactor we avoid to enclose all the code with unsafe tags and just use it when necessary. Also we add annotations to explain why it's safe to use. The integrations tests related are also been reviewed to avoid using panic. Signed-off-by: Sahid Orentino Ferdjaoui --- src/connect.rs