Skip to content

Update Rust crate pyo3 to v0.23.1 #714

Update Rust crate pyo3 to v0.23.1

Update Rust crate pyo3 to v0.23.1 #714

GitHub Actions / clippy succeeded Nov 19, 2024 in 0s

clippy

3 warnings

Details

Results

Message level Amount
Internal compiler error 0
Error 0
Warning 3
Note 0
Help 0

Versions

  • rustc 1.82.0 (f6e511eec 2024-10-15)
  • cargo 1.82.0 (8f40fc59f 2024-08-21)
  • clippy 0.1.82 (f6e511e 2024-10-15)

Annotations

Check warning on line 208 in src/node/nodeinfo.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `pyo3::Bound<'_, pyo3::types::PyDict>`

warning: useless conversion to the same type: `pyo3::Bound<'_, pyo3::types::PyDict>`
   --> src/node/nodeinfo.rs:208:12
    |
208 |         Ok(dict.into())
    |            ^^^^^^^^^^^ help: consider removing `.into()`: `dict`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check warning on line 190 in src/node/nodeinfo.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `pyo3::Bound<'_, pyo3::types::PyDict>`

warning: useless conversion to the same type: `pyo3::Bound<'_, pyo3::types::PyDict>`
   --> src/node/nodeinfo.rs:190:12
    |
190 |         Ok(dict.into())
    |            ^^^^^^^^^^^ help: consider removing `.into()`: `dict`
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion

Check warning on line 93 in src/inventory.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

useless conversion to the same type: `pyo3::Bound<'_, pyo3::types::PyDict>`

warning: useless conversion to the same type: `pyo3::Bound<'_, pyo3::types::PyDict>`
  --> src/inventory.rs:93:12
   |
93 |         Ok(dict.into())
   |            ^^^^^^^^^^^ help: consider removing `.into()`: `dict`
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#useless_conversion
   = note: `#[warn(clippy::useless_conversion)]` on by default