[Feature]: ERC2981 contract #2465
check.yml
on: pull_request
nightly / fmt
18s
nightly / doc
38s
ubuntu / stable / features
1m 35s
ubuntu / stable / typos
7s
Matrix: clippy
Annotations
2 warnings
stable / clippy:
contracts/src/token/common/erc2981.rs#L116
[clippy] reported by reviewdog 🐶
warning: empty line after outer attribute
--> contracts/src/token/common/erc2981.rs:111:1
|
111 | / /// Interface for the NFT Royalty Standard.
112 | |
| |_^
...
116 | #[interface_id]
| --------------- the attribute applies to this trait
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `-W clippy::empty-line-after-outer-attr` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_outer_attr)]`
= help: if the empty line is unintentional remove it
Raw Output:
contracts/src/token/common/erc2981.rs:116:1:w:warning: empty line after outer attribute
--> contracts/src/token/common/erc2981.rs:111:1
|
111 | / /// Interface for the NFT Royalty Standard.
112 | |
| |_^
...
116 | #[interface_id]
| --------------- the attribute applies to this trait
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `-W clippy::empty-line-after-outer-attr` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_outer_attr)]`
= help: if the empty line is unintentional remove it
__END__
|
beta / clippy:
contracts/src/token/common/erc2981.rs#L116
[clippy] reported by reviewdog 🐶
warning: empty line after outer attribute
--> contracts/src/token/common/erc2981.rs:111:1
|
111 | / /// Interface for the NFT Royalty Standard.
112 | |
| |_^
...
116 | #[interface_id]
| - the attribute applies to this trait
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `-W clippy::empty-line-after-outer-attr` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_outer_attr)]`
= help: if the empty line is unintentional, remove it
Raw Output:
contracts/src/token/common/erc2981.rs:116:1:w:warning: empty line after outer attribute
--> contracts/src/token/common/erc2981.rs:111:1
|
111 | / /// Interface for the NFT Royalty Standard.
112 | |
| |_^
...
116 | #[interface_id]
| - the attribute applies to this trait
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#empty_line_after_outer_attr
= note: `-W clippy::empty-line-after-outer-attr` implied by `-W clippy::all`
= help: to override `-W clippy::all` add `#[allow(clippy::empty_line_after_outer_attr)]`
= help: if the empty line is unintentional, remove it
__END__
|