Skip to content

ManagedVecRef

ManagedVecRef #4124

GitHub Actions / clippy failed Nov 29, 2024 in 0s

reviewdog [clippy] report

reported by reviewdog 🐶

Findings (2)

framework/base/src/types/managed/wrapped/managed_vec_ref.rs|16 col 5| warning: unsafe function's docs are missing a # Safety section
--> framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5
|
16 | pub unsafe fn new(item: T) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: #[warn(clippy::missing_safety_doc)] on by default
framework/base/src/types/managed/wrapped/managed_vec_ref.rs|16 col 5| warning: unsafe function's docs are missing a # Safety section
--> framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5
|
16 | pub unsafe fn new(item: T) -> Self {
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
= help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
= note: #[warn(clippy::missing_safety_doc)] on by default

Filtered Findings (0)

Annotations

Check warning on line 16 in framework/base/src/types/managed/wrapped/managed_vec_ref.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/wrapped/managed_vec_ref.rs#L16

warning: unsafe function's docs are missing a `# Safety` section
  --> framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5
   |
16 |     pub unsafe fn new(item: T) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
   = note: `#[warn(clippy::missing_safety_doc)]` on by default
Raw output
framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5:w:warning: unsafe function's docs are missing a `# Safety` section
  --> framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5
   |
16 |     pub unsafe fn new(item: T) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
   = note: `#[warn(clippy::missing_safety_doc)]` on by default


__END__

Check warning on line 16 in framework/base/src/types/managed/wrapped/managed_vec_ref.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

[clippy] framework/base/src/types/managed/wrapped/managed_vec_ref.rs#L16

warning: unsafe function's docs are missing a `# Safety` section
  --> framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5
   |
16 |     pub unsafe fn new(item: T) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
   = note: `#[warn(clippy::missing_safety_doc)]` on by default
Raw output
framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5:w:warning: unsafe function's docs are missing a `# Safety` section
  --> framework/base/src/types/managed/wrapped/managed_vec_ref.rs:16:5
   |
16 |     pub unsafe fn new(item: T) -> Self {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_safety_doc
   = note: `#[warn(clippy::missing_safety_doc)]` on by default


__END__