• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

mattwparas / steel / 17519714141
45%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2025 09:45PM UTC
Jobs 1
Files 118
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Sep 2025 09:22PM UTC coverage: 43.309% (-0.05%) from 43.358%
17519714141

push

github

web-flow
 vector-set!/swap!: fix docs and crash (#496)

* fix docs for vector-swap!

the previous docs for vector-swap! were essentially just copied from
vector-set!, so they weren't very helpful.

* fix bounds checks in vector-set!, vector-swap!

previously it was relatively easy to accidentally crash steel due to
using a > instead of the more appropriate >= in a bounds check. in
addition, the bounds check for the second index in vector-swap! was
forgotten.

```
$ steel
λ > (define v (mutable-vector 1 2 3))
λ > (vector-set! v 3 4)
thread 'main' panicked at crates/steel-core/src/primitives/vectors.rs:950:10:
index out of bounds: the len is 3 but the index is 3
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
```

1 of 4 new or added lines in 1 file covered. (25.0%)

33 existing lines in 8 files now uncovered.

12331 of 28472 relevant lines covered (43.31%)

2974919.84 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
3
50.7
-0.29% crates/steel-core/src/primitives/vectors.rs

Uncovered Existing Lines

Lines Coverage ∆ File
2
35.78
1.83% crates/steel-core/src/primitives.rs
2
60.44
-2.2% crates/steel-core/src/values/functions.rs
2
48.65
-5.41% crates/steel-parser/src/span.rs
3
53.26
-0.47% crates/steel-core/src/primitives/numbers.rs
3
39.89
-0.18% crates/steel-core/src/rvals/cycles.rs
6
55.25
-1.85% crates/steel-core/src/compiler/program.rs
7
33.21
-2.64% crates/steel-core/src/steel_vm/transducers.rs
8
34.92
-0.9% crates/steel-core/src/rvals.rs
Jobs
ID Job ID Ran Files Coverage
1 17519714141.1 06 Sep 2025 09:45PM UTC 118
43.31
GitHub Action Run
Source Files on build 17519714141
  • Tree
  • List 118
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0ff387fc on github
  • Prev Build on master (#17519547890)
  • Next Build on master (#17533788619)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc