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

Update thiserror requirement from 1.0.50 to 2.0.0 #4

Merged
merged 1 commit into from
Nov 6, 2024

Update thiserror requirement from 1.0.50 to 2.0.0

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

Update thiserror requirement from 1.0.50 to 2.0.0 #4

Update thiserror requirement from 1.0.50 to 2.0.0
4cab731
Select commit
Loading
Failed to load commit list.
GitHub Actions / clippy failed Nov 6, 2024 in 0s

clippy

3 errors

Details

Results

Message level Amount
Internal compiler error 0
Error 3
Warning 0
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 failure on line 105 in src/../README.md

See this annotation in the file changed.

@github-actions github-actions / clippy

needless `fn main` in doctest

error: needless `fn main` in doctest
   --> src/../README.md:90:1
    |
90  | / use img_stegano::{ImgStegano, Image, image::ImageFormat};
91  | |
92  | | fn main() {
93  | |     // encode from file path
...   |
104 | |     assert_eq!(decoded_text, "foo bar".to_string());
105 | | }
    | |_^
    |
    = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main

Check failure on line 84 in src/../README.md

See this annotation in the file changed.

@github-actions github-actions / clippy

needless `fn main` in doctest

error: needless `fn main` in doctest
  --> src/../README.md:57:1
   |
57 | / use std::{fs::File, io::Read};
58 | | use img_stegano::{ImgStegano, Image, image::ImageFormat};
59 | |
60 | | fn main() {
...  |
83 | |     assert_eq!(decoded_text, "foo bar".to_string());
84 | | }
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main

Check failure on line 51 in src/../README.md

See this annotation in the file changed.

@github-actions github-actions / clippy

needless `fn main` in doctest

error: needless `fn main` in doctest
  --> src/../README.md:32:1
   |
32 | / use img_stegano::{ImgStegano, Image, image::ImageFormat};
33 | |
34 | | fn main() {
35 | |     // open image
...  |
50 | |     assert_eq!(decoded_text, "foo bar".to_string());
51 | | }
   | |_^
   |
   = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_doctest_main
   = note: `-D clippy::needless-doctest-main` implied by `-D warnings`
   = help: to override `-D warnings` add `#[allow(clippy::needless_doctest_main)]`