Skip to content

feat: erc165 support interface #1080

feat: erc165 support interface

feat: erc165 support interface #1080

GitHub Actions / clippy failed Sep 19, 2024 in 1s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (3)

contracts-proc/src/lib.rs|22 col 1| warning: first doc comment paragraph is too long
--> contracts-proc/src/lib.rs:22:1
|
22 | / /// Computes interface id as an associated constant INTERFACE_ID for the
23 | | /// trait that describes contract's abi.
24 | | /// Selector collision should be handled with macro #[selector(name = 25 | | /// "actualSolidityMethodName")] on top of the method.
26 | | ///
27 | | /// # Examples
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
= note: -W clippy::too-long-first-doc-paragraph implied by -W clippy::all
= help: to override -W clippy::all add #[allow(clippy::too_long_first_doc_paragraph)]
contracts-proc/src/lib.rs|22 col 1| warning: first doc comment paragraph is too long
--> contracts-proc/src/lib.rs:22:1
|
22 | / /// Computes interface id as an associated constant INTERFACE_ID for the
23 | | /// trait that describes contract's abi.
24 | | /// Selector collision should be handled with macro #[selector(name = 25 | | /// "actualSolidityMethodName")] on top of the method.
26 | | ///
27 | | /// # Examples
| |_
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
= note: -W clippy::too-long-first-doc-paragraph implied by -W clippy::all
= help: to override -W clippy::all add #[allow(clippy::too_long_first_doc_paragraph)]
contracts/src/token/erc721/extensions/metadata.rs|10 col 5| warning: unused import: token::erc20::extensions::IErc20Metadata
--> contracts/src/token/erc721/extensions/metadata.rs:10:5
|
10 | token::erc20::extensions::IErc20Metadata,
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= note: #[warn(unused_imports)] on by default

Filtered Findings (0)

Annotations

Check warning on line 22 in contracts-proc/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts-proc/src/lib.rs#L22

warning: first doc comment paragraph is too long
  --> contracts-proc/src/lib.rs:22:1
   |
22 | / /// Computes interface id as an associated constant `INTERFACE_ID` for the
23 | | /// trait that describes contract's abi.
24 | | /// Selector collision should be handled with macro `#[selector(name =
25 | | /// "actualSolidityMethodName")]` on top of the method.
26 | | ///
27 | | /// # Examples
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
   = note: `-W clippy::too-long-first-doc-paragraph` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::too_long_first_doc_paragraph)]`
Raw output
contracts-proc/src/lib.rs:22:1:w:warning: first doc comment paragraph is too long
  --> contracts-proc/src/lib.rs:22:1
   |
22 | / /// Computes interface id as an associated constant `INTERFACE_ID` for the
23 | | /// trait that describes contract's abi.
24 | | /// Selector collision should be handled with macro `#[selector(name =
25 | | /// "actualSolidityMethodName")]` on top of the method.
26 | | ///
27 | | /// # Examples
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
   = note: `-W clippy::too-long-first-doc-paragraph` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::too_long_first_doc_paragraph)]`


__END__

Check warning on line 22 in contracts-proc/src/lib.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts-proc/src/lib.rs#L22

warning: first doc comment paragraph is too long
  --> contracts-proc/src/lib.rs:22:1
   |
22 | / /// Computes interface id as an associated constant `INTERFACE_ID` for the
23 | | /// trait that describes contract's abi.
24 | | /// Selector collision should be handled with macro `#[selector(name =
25 | | /// "actualSolidityMethodName")]` on top of the method.
26 | | ///
27 | | /// # Examples
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
   = note: `-W clippy::too-long-first-doc-paragraph` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::too_long_first_doc_paragraph)]`
Raw output
contracts-proc/src/lib.rs:22:1:w:warning: first doc comment paragraph is too long
  --> contracts-proc/src/lib.rs:22:1
   |
22 | / /// Computes interface id as an associated constant `INTERFACE_ID` for the
23 | | /// trait that describes contract's abi.
24 | | /// Selector collision should be handled with macro `#[selector(name =
25 | | /// "actualSolidityMethodName")]` on top of the method.
26 | | ///
27 | | /// # Examples
   | |_
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#too_long_first_doc_paragraph
   = note: `-W clippy::too-long-first-doc-paragraph` implied by `-W clippy::all`
   = help: to override `-W clippy::all` add `#[allow(clippy::too_long_first_doc_paragraph)]`


__END__

Check warning on line 10 in contracts/src/token/erc721/extensions/metadata.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] contracts/src/token/erc721/extensions/metadata.rs#L10

warning: unused import: `token::erc20::extensions::IErc20Metadata`
  --> contracts/src/token/erc721/extensions/metadata.rs:10:5
   |
10 |     token::erc20::extensions::IErc20Metadata,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default
Raw output
contracts/src/token/erc721/extensions/metadata.rs:10:5:w:warning: unused import: `token::erc20::extensions::IErc20Metadata`
  --> contracts/src/token/erc721/extensions/metadata.rs:10:5
   |
10 |     token::erc20::extensions::IErc20Metadata,
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = note: `#[warn(unused_imports)]` on by default


__END__