Skip to content

Use saturating_sub for last_visible_line in text::Editor #1827

Use saturating_sub for last_visible_line in text::Editor

Use saturating_sub for last_visible_line in text::Editor #1827

Workflow file for this run

name: Lint
on: [push, pull_request]
jobs:
all:
runs-on: ubuntu-latest
steps:
- uses: hecrj/setup-rust-action@v1
with:
components: clippy
- uses: actions/checkout@master
- name: Check lints
run: cargo clippy --workspace --all-features --all-targets --no-deps -- -D warnings