mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
Fix some warnings
This commit is contained in:
parent
641b374f0b
commit
d560ae79b4
3 changed files with 9 additions and 9 deletions
|
@ -18,14 +18,14 @@ pub struct FileManager {
|
|||
}
|
||||
|
||||
impl FileManager {
|
||||
fn new(recv: IpcReceiver<FileManagerThreadMsg>) -> FileManager {
|
||||
pub fn new(recv: IpcReceiver<FileManagerThreadMsg>) -> FileManager {
|
||||
FileManager {
|
||||
receiver: recv,
|
||||
idmap: RefCell::new(HashMap::new()),
|
||||
}
|
||||
}
|
||||
|
||||
fn new_thread() -> IpcSender<FileManagerThreadMsg> {
|
||||
pub fn new_thread() -> IpcSender<FileManagerThreadMsg> {
|
||||
let (chan, recv) = ipc::channel().unwrap();
|
||||
|
||||
spawn_named("FileManager".to_owned(), move || {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue