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

mattwparas / steel / 17519714141 / 1
45%
master: 45%

Build:
DEFAULT BRANCH: master
Ran 06 Sep 2025 09:45PM UTC
Files 118
Run time 3s
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.1

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
```

12331 of 28472 relevant lines covered (43.31%)

2974919.84 hits per line

Source Files on job 17519714141.1
  • Tree
  • List 118
  • Changed 15
  • Source Changed 0
  • Coverage Changed 15
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 17519714141
  • 0ff387fc on github
  • Prev Job for on master (#17519547890.1)
  • Next Job for on master (#17533788619.1)
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