Skip to content

Remove double-linefeed in tracebacks. #167

Remove double-linefeed in tracebacks.

Remove double-linefeed in tracebacks. #167

Triggered via push August 3, 2024 00:00
Status Success
Total duration 2m 25s
Artifacts

format-check.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

5 warnings
style
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
style
Unexpected input(s) 'dprint-version', valid inputs are ['entryPoint', 'args']
struct `Datum` has a public `len` method, but no `is_empty` method: crates/db-wiredtiger/src/bindings/cursor.rs#L67
warning: struct `Datum` has a public `len` method, but no `is_empty` method --> crates/db-wiredtiger/src/bindings/cursor.rs:67:5 | 67 | pub fn len(&self) -> usize { | ^^^^^^^^^^^^^^^^^^^^^^^^^^ | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#len_without_is_empty = note: `#[warn(clippy::len_without_is_empty)]` on by default
this `let...else` may be rewritten with the `?` operator: crates/kernel/src/vm/moo_frame.rs#L298
warning: this `let...else` may be rewritten with the `?` operator --> crates/kernel/src/vm/moo_frame.rs:298:9 | 298 | / let Some(scope) = self.scope_stack.pop() else { 299 | | return None; 300 | | }; | |__________^ help: replace it with: `let scope = self.scope_stack.pop()?;` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#question_mark = note: `#[warn(clippy::question_mark)]` on by default
using `clone` on type `Error` which implements the `Copy` trait: crates/kernel/src/vm/moo_execute.rs#L644
warning: using `clone` on type `Error` which implements the `Copy` trait --> crates/kernel/src/vm/moo_execute.rs:644:29 | 644 | ... e.clone() | ^^^^^^^^^ help: try dereferencing it: `*e` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#clone_on_copy = note: `#[warn(clippy::clone_on_copy)]` on by default