Skip to content

🐎 use and_then instead of map in unwrap_or_else #4504

🐎 use and_then instead of map in unwrap_or_else

🐎 use and_then instead of map in unwrap_or_else #4504

Workflow file for this run

name: format
on:
pull_request:
push:
jobs:
rust_check_format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-rust
- name: run check format
run: cargo fmt --check
env:
RUST_BACKTRACE: 1
rust_check_doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup-rust
- name: run check doc
run: cargo doc --no-deps -p libpna -p pna
env:
RUST_BACKTRACE: 1
RUSTFLAGS: -Dwarnings