mirror of
https://git.proxmox.com/git/perlmod
synced 2025-10-04 13:01:42 +00:00
drop imports already in 2021 prelude
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
381751a4e8
commit
e68855945d
@ -1,5 +1,3 @@
|
||||
use std::convert::TryFrom;
|
||||
|
||||
use proc_macro2::{Ident, Span};
|
||||
|
||||
use syn::AttributeArgs;
|
||||
|
@ -6,7 +6,6 @@ extern crate proc_macro;
|
||||
extern crate proc_macro2;
|
||||
|
||||
use std::cell::RefCell;
|
||||
use std::convert::TryFrom;
|
||||
|
||||
use proc_macro::TokenStream as TokenStream_1;
|
||||
use proc_macro2::TokenStream;
|
||||
|
@ -1,6 +1,3 @@
|
||||
use std::convert::TryFrom;
|
||||
use std::iter::IntoIterator;
|
||||
|
||||
use proc_macro2::TokenStream;
|
||||
|
||||
use quote::quote;
|
||||
|
@ -1,4 +1,3 @@
|
||||
use std::convert::TryFrom;
|
||||
use std::env;
|
||||
|
||||
use proc_macro2::{Ident, Span, TokenStream};
|
||||
|
@ -1,7 +1,5 @@
|
||||
#[perlmod::package(name = "RSPM::Bless", lib = "perlmod_test")]
|
||||
mod export {
|
||||
use std::convert::TryFrom;
|
||||
|
||||
use anyhow::Error;
|
||||
|
||||
use perlmod::Value;
|
||||
|
@ -1,6 +1,5 @@
|
||||
//! Module dealing with perl [`Array`](crate::Array)s. ([`AV`](crate::ffi::AV) pointers).
|
||||
|
||||
use std::convert::TryFrom;
|
||||
use std::marker::PhantomData;
|
||||
|
||||
use crate::error::CastError;
|
||||
|
@ -1,7 +1,5 @@
|
||||
//! Module dealing with perl [`Hash`](crate::Hash)es. ([`HV`](crate::ffi::HV) pointers).
|
||||
|
||||
use std::convert::TryFrom;
|
||||
|
||||
use crate::error::CastError;
|
||||
use crate::ffi::{self, HV, SV};
|
||||
use crate::raw_value;
|
||||
|
@ -1,6 +1,5 @@
|
||||
//! Module containing the [`Scalar`] and [`Mortal`] types.
|
||||
|
||||
use std::convert::TryInto;
|
||||
use std::marker::PhantomData;
|
||||
use std::mem;
|
||||
|
||||
|
@ -317,7 +317,6 @@ impl Value {
|
||||
/// ```
|
||||
/// #[perlmod::package(name = "My::Thing")]
|
||||
/// mod export {
|
||||
/// use std::convert::TryFrom;
|
||||
/// use std::sync::Mutex;
|
||||
///
|
||||
/// use perlmod::{Error, Value};
|
||||
|
Loading…
Reference in New Issue
Block a user