style #102
Annotations
20 warnings
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/cache@v2, actions-rs/toolchain@v1, actions-rs/cargo@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test:
src/text_buffer.rs#L39
method `replace` is never used
|
test
`promkit` (lib) generated 1 warning
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
test:
src/text_buffer.rs#L39
method `replace` is never used
|
test
`promkit` (lib) generated 1 warning
|
test
Target filter `bins` specified, but no targets matched. This is a no-op
|
test:
src/terminal.rs#L24
unnecessary `>= y + 1` or `x - 1 >=`
|
test:
src/text_buffer.rs#L39
method `replace` is never used
|
test:
src/editor/builder/text_editor.rs#L15
you should consider adding a `Default` implementation for `TextEditorBuilder`
|
test:
src/grapheme.rs#L58
the following explicit lifetimes could be elided: 'a
|
test:
src/grapheme.rs#L62
implementation of inherent method `to_string(&self) -> String` for type `grapheme::Graphemes`
|
test:
src/grapheme.rs#L119
casting to the same type is unnecessary (`usize` -> `usize`)
|
test:
src/grapheme.rs#L123
casting to the same type is unnecessary (`usize` -> `usize`)
|
test:
src/text_buffer.rs#L10
you should consider adding a `Default` implementation for `TextBuffer`
|
test:
src/text_buffer.rs#L22
unnecessary use of `to_string`
|
test:
src/text_buffer.rs#L39
writing `&String` instead of `&str` involves a new object where a slice will do
|