Skip to content

Merge pull request #153 from forkgull/more-debug #142

Merge pull request #153 from forkgull/more-debug

Merge pull request #153 from forkgull/more-debug #142

Triggered via push July 24, 2023 15:46
Status Success
Total duration 1m 39s
Artifacts

pages.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 warnings
docs for function returning `Result` missing `# Errors` section: src/edit/vi.rs#L460
warning: docs for function returning `Result` missing `# Errors` section --> src/edit/vi.rs:460:5 | 460 | / pub fn load_text<P: AsRef<std::path::Path>>( 461 | | &mut self, 462 | | path: P, 463 | | attrs: crate::Attrs, 464 | | ) -> std::io::Result<()> { | |____________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc
docs for function returning `Result` missing `# Errors` section: src/edit/vi.rs#L35
warning: docs for function returning `Result` missing `# Errors` section --> src/edit/vi.rs:35:5 | 35 | / pub fn load_text<P: AsRef<std::path::Path>>( 36 | | &mut self, 37 | | font_system: &mut FontSystem, 38 | | path: P, 39 | | attrs: crate::Attrs, 40 | | ) -> std::io::Result<()> { | |____________________________^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#missing_errors_doc note: the lint level is defined here --> src/lib.rs:86:9 | 86 | #![warn(clippy::missing_errors_doc)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^
this `impl` can be derived: src/buffer.rs#L89
warning: this `impl` can be derived --> src/buffer.rs:89:1 | 89 | / impl Default for Affinity { 90 | | fn default() -> Self { 91 | | Affinity::Before 92 | | } 93 | | } | |_^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#derivable_impls = note: `#[warn(clippy::derivable_impls)]` on by default = help: remove the manual implementation... help: ...and instead derive it... | 58 + #[derive(Default)] 59 | pub enum Affinity { | help: ...and mark the default variant | 59 ~ #[default] 60 ~ Before, |
lint `clippy::integer_arithmetic` has been renamed to `clippy::arithmetic_side_effects`: src/lib.rs#L67
warning: lint `clippy::integer_arithmetic` has been renamed to `clippy::arithmetic_side_effects` --> src/lib.rs:67:10 | 67 | #![allow(clippy::integer_arithmetic)] | ^^^^^^^^^^^^^^^^^^^^^^^^^^ help: use the new name: `clippy::arithmetic_side_effects` | = note: `#[warn(renamed_and_removed_lints)]` on by default