Remove unsafe from import funcs (#75)

This commit is contained in:
vms
2021-04-19 13:34:05 +03:00
committed by GitHub
parent 820e292f15
commit c702311595
29 changed files with 88 additions and 89 deletions

View File

@ -33,7 +33,7 @@ pub fn main() {
pub fn download(url: String) -> String {
log::info!("get called with url {}", url);
let result = unsafe { curl(vec![url]) };
let result = curl(vec![url]);
String::from_utf8(result.stdout).unwrap()
}