From 93560d3e10493b27871ab0f7c1d089b94e0758a6 Mon Sep 17 00:00:00 2001 From: Raniz Date: Mon, 25 Nov 2019 11:48:12 +0100 Subject: [PATCH] Update for Rust 2018 --- src/vlm.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vlm.rs b/src/vlm.rs index 09b31e7..9ad7283 100644 --- a/src/vlm.rs +++ b/src/vlm.rs @@ -1,9 +1,10 @@ -use ::{sys, Instance}; use std::ffi::CString; -use tools::{to_cstr, from_cstr}; use std::os::raw::c_char; use std::ptr; +use crate::{Instance, sys}; +use crate::tools::{from_cstr, to_cstr}; + pub trait Vlm { fn add_broadcast(&self, name: &str, input: &str, output: &str, options: Option>, enabled: bool, loop_broadcast: bool, ) -> Result<(), ()>;