Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cortex-m: update to volatile-register 0.2.2, fixes #485 #493

Merged
merged 1 commit into from
Nov 4, 2023

cortex-m: update to volatile-register 0.2.2, fixes #485

a53f629
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

cortex-m: update to volatile-register 0.2.2, fixes #485 #493

cortex-m: update to volatile-register 0.2.2, fixes #485
a53f629
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy succeeded Nov 4, 2023 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.73.0 (cc66ad468 2023-10-03)
  • cargo 1.73.0 (9c4383fb5 2023-08-26)
  • clippy 0.1.73 (cc66ad4 2023-10-03)

Annotations

Check warning on line 35 in cortex-m-semihosting/src/hio.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this returns a `Result<_, ()>`

warning: this returns a `Result<_, ()>`
  --> cortex-m-semihosting/src/hio.rs:35:1
   |
35 | pub fn hstdout() -> Result<HostStream, ()> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use a custom `Error` type instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err

Check warning on line 26 in cortex-m-semihosting/src/hio.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this returns a `Result<_, ()>`

warning: this returns a `Result<_, ()>`
  --> cortex-m-semihosting/src/hio.rs:26:1
   |
26 | pub fn hstderr() -> Result<HostStream, ()> {
   | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use a custom `Error` type instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err

Check warning on line 14 in cortex-m-semihosting/src/hio.rs

See this annotation in the file changed.

@github-actions github-actions / clippy

this returns a `Result<_, ()>`

warning: this returns a `Result<_, ()>`
  --> cortex-m-semihosting/src/hio.rs:14:5
   |
14 |     pub fn write_all(&mut self, buffer: &[u8]) -> Result<(), ()> {
   |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
   |
   = help: use a custom `Error` type instead
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#result_unit_err
   = note: `#[warn(clippy::result_unit_err)]` on by default