mirror of
https://github.com/fluencelabs/marine.git
synced 2025-06-18 09:21:29 +00:00
Remove unsafe from import funcs (#75)
This commit is contained in:
@ -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()
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user