mirror of
https://github.com/pezkuwichain/pezkuwi-subxt.git
synced 2026-10-28 14:39:49 +00:00
Removing wasm unused import warnings (#9492)
* Removing wasm unused import warnings * cargo fmt
This commit is contained in:
1 parent
8f388559a1
commit
2f4db88b41
3 files changed
+8
-2
No files matched your search
@@ -15,7 +15,9 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
use futures_util::{future::Future, FutureExt};
|
||||
use prometheus::core::Collector;
|
||||
pub use prometheus::{
|
||||
self,
|
||||
core::{
|
||||
@@ -25,7 +27,8 @@ pub use prometheus::{
|
||||
exponential_buckets, Error as PrometheusError, Histogram, HistogramOpts, HistogramVec, Opts,
|
||||
Registry,
|
||||
};
|
||||
use prometheus::{core::Collector, Encoder, TextEncoder};
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
use prometheus::{Encoder, TextEncoder};
|
||||
use std::net::SocketAddr;
|
||||
|
||||
#[cfg(not(target_os = "unknown"))]
|
||||
|
||||
Reference in new issue
Block a user