summaryrefslogtreecommitdiffstats
path: root/xpcom/rust
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-15 03:35:49 +0000
commitd8bbc7858622b6d9c278469aab701ca0b609cddf (patch)
treeeff41dc61d9f714852212739e6b3738b82a2af87 /xpcom/rust
parentReleasing progress-linux version 125.0.3-1~progress7.99u1. (diff)
downloadfirefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.tar.xz
firefox-d8bbc7858622b6d9c278469aab701ca0b609cddf.zip
Merging upstream version 126.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'xpcom/rust')
-rw-r--r--xpcom/rust/gecko_logger/src/lib.rs1
-rw-r--r--xpcom/rust/gtest/moz_task/test.rs1
-rw-r--r--xpcom/rust/xpcom/src/refptr.rs1
3 files changed, 0 insertions, 3 deletions
diff --git a/xpcom/rust/gecko_logger/src/lib.rs b/xpcom/rust/gecko_logger/src/lib.rs
index 5da85b9d89..4be9bef7c8 100644
--- a/xpcom/rust/gecko_logger/src/lib.rs
+++ b/xpcom/rust/gecko_logger/src/lib.rs
@@ -10,7 +10,6 @@ extern crate lazy_static;
use app_services_logger::{AppServicesLogger, LOGGERS_BY_TARGET};
use log::Log;
use log::{Level, LevelFilter};
-use std::boxed::Box;
use std::collections::HashMap;
use std::ffi::{CStr, CString};
use std::os::raw::c_char;
diff --git a/xpcom/rust/gtest/moz_task/test.rs b/xpcom/rust/gtest/moz_task/test.rs
index fa4c0af852..b6fbbe5a8c 100644
--- a/xpcom/rust/gtest/moz_task/test.rs
+++ b/xpcom/rust/gtest/moz_task/test.rs
@@ -2,7 +2,6 @@
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
-use moz_task;
use std::{
future::Future,
pin::Pin,
diff --git a/xpcom/rust/xpcom/src/refptr.rs b/xpcom/rust/xpcom/src/refptr.rs
index 8549b6d2f0..399692671d 100644
--- a/xpcom/rust/xpcom/src/refptr.rs
+++ b/xpcom/rust/xpcom/src/refptr.rs
@@ -3,7 +3,6 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
use crate::interfaces::nsISupports;
-use libc;
use nserror::{nsresult, NS_OK};
use std::cell::Cell;
use std::convert::TryInto;