mirror of
https://github.com/teloxide/teloxide.git
synced 2025-01-23 00:42:03 +01:00
clippy
This commit is contained in:
parent
961d67ccf1
commit
77253422f8
1 changed files with 0 additions and 6 deletions
|
@ -1,4 +1,3 @@
|
|||
#[macro_use]
|
||||
macro_rules! forward_to_unsuported_ty {
|
||||
(
|
||||
supported: $supported:expr;
|
||||
|
@ -37,7 +36,6 @@ macro_rules! forward_to_unsuported_ty {
|
|||
};
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
macro_rules! req_future {
|
||||
(
|
||||
$v2:vis def: | $( $arg:ident: $ArgTy:ty ),* $(,)? | $body:block
|
||||
|
@ -118,7 +116,6 @@ macro_rules! req_future {
|
|||
/// Declares an item with a doc attribute computed by some macro expression.
|
||||
/// This allows documentation to be dynamically generated based on input.
|
||||
/// Necessary to work around https://github.com/rust-lang/rust/issues/52607.
|
||||
#[macro_use]
|
||||
macro_rules! calculated_doc {
|
||||
(
|
||||
$(
|
||||
|
@ -135,7 +132,6 @@ macro_rules! calculated_doc {
|
|||
|
||||
/// Declare payload type, implement `Payload` trait and ::new method for it,
|
||||
/// declare setters trait and implement it for all type which have payload.
|
||||
#[macro_use]
|
||||
macro_rules! impl_payload {
|
||||
(
|
||||
$(
|
||||
|
@ -392,7 +388,6 @@ macro_rules! impl_payload {
|
|||
(@[] $($ignored:tt)*) => {}
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
macro_rules! download_forward {
|
||||
($l:lifetime $T:ident $S:ty {$this:ident => $inner:expr}) => {
|
||||
impl<$l, $T: $crate::net::Download<$l>> $crate::net::Download<$l> for $S {
|
||||
|
@ -423,7 +418,6 @@ macro_rules! download_forward {
|
|||
};
|
||||
}
|
||||
|
||||
#[macro_use]
|
||||
// This macro is auto generated by [`cg`] from [`schema`].
|
||||
//
|
||||
// **DO NOT EDIT THIS MACRO**,
|
||||
|
|
Loading…
Add table
Reference in a new issue