Editor: make delete_range and insert_at methods public #472
Annotations
2 errors and 1 warning
non-exhaustive patterns: `modit::Event::BackspaceInLine` and `modit::Event::DeleteInLine` not covered:
src/edit/vi.rs#L373
error[E0004]: non-exhaustive patterns: `modit::Event::BackspaceInLine` and `modit::Event::DeleteInLine` not covered
--> src/edit/vi.rs:373:32
|
373 | let action = match event {
| ^^^^^ patterns `modit::Event::BackspaceInLine` and `modit::Event::DeleteInLine` not covered
|
note: `modit::Event` defined here
--> /home/runner/.cargo/registry/src/index.crates.io-6f17d22bba15001f/modit-0.1.3/src/lib.rs:53:5
|
47 | pub enum Event {
| --------------
...
53 | BackspaceInLine,
| ^^^^^^^^^^^^^^^ not covered
...
61 | DeleteInLine,
| ^^^^^^^^^^^^ not covered
= note: the matched value is of type `modit::Event`
help: ensure that all possible cases are being handled by adding a match arm with a wildcard pattern, a match arm with multiple or-patterns as shown, or multiple match arms
|
771 ~ },
772 + modit::Event::BackspaceInLine | modit::Event::DeleteInLine => todo!()
|
|
build
Clippy had exited with the 101 exit code
|
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions-rs/clippy-check@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|