checkpoint
This commit is contained in:
@@ -74,7 +74,7 @@ pub use std::net::{
|
||||
pub use std::ops::{Fn, FnMut, FnOnce};
|
||||
pub use std::pin::Pin;
|
||||
pub use std::rc::Rc;
|
||||
pub use std::string::String;
|
||||
pub use std::string::{String, ToString};
|
||||
pub use std::sync::atomic::{AtomicBool, Ordering};
|
||||
pub use std::sync::{Arc, Weak};
|
||||
pub use std::task;
|
@@ -2,7 +2,7 @@
|
||||
// Pass errors through and log them simultaneously via map_err()
|
||||
// Also contains common log facilities (net, rpc, rtab, pstore, crypto, etc )
|
||||
|
||||
use alloc::string::{String, ToString};
|
||||
use super::*;
|
||||
|
||||
pub fn map_to_string<X: ToString>(arg: X) -> String {
|
||||
arg.to_string()
|
||||
|
@@ -1,6 +1,5 @@
|
||||
use super::*;
|
||||
|
||||
use alloc::string::ToString;
|
||||
use std::io;
|
||||
use std::path::Path;
|
||||
|
||||
@@ -276,7 +275,7 @@ cfg_if::cfg_if! {
|
||||
Ok(())
|
||||
}
|
||||
} else {
|
||||
pub fn ensure_file_private_owner<P:AsRef<Path>>(_path: P) -> Result<(),String>
|
||||
pub fn ensure_file_private_owner<P:AsRef<Path>>(_path: P) -> Result<(), String>
|
||||
{
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user