# rust-lang/rustlings SLOC report

> As of 2026-09-29 (commit bc8e51115c93), rust-lang/rustlings contains 15,268 total lines: 10,427 code, 2,434 comments, 2,407 blank, across 275 files in 10 languages (top: Rust 82.7%). Custom configuration (tests excluded, docs excluded, generated excluded). Counted with tokei via OctoCounts.

rust-lang/rustlings has 10,427 source lines of code out of 15,268 total lines across 275 files, counted from the main ref at commit bc8e51115c93 by the OctoCounts tokei engine on 2026-09-29. The report is cached by commit, tokei version, and analysis options, reproduction requires the same commit, engine version, and effective counting rules. Unknown rules in older reports prevent exact reproduction.

OctoCounts produced this report by resolving rust-lang/rustlings to commit bc8e51115c93, downloading the repository source archive, and counting files selected by the effective rules with tokei, the open-source line counter written in Rust. The table below breaks the count down by programming language into files, total lines, code lines, comment lines, and blank lines, so the figures can be compared across languages and projects. Results are cached by commit, tokei version, and analysis options, exact reproduction requires the same commit, engine version, and effective counting rules. Older reports with unknown rules cannot promise exact reproduction.

## Counting rules and retention

rust-lang/rustlings: counting rules unknown; engine tokei-12.1.

Saved reports remain subject to cache cleanup and replacement. Export the JSON or text for durable citation; live repository URLs can change.

## Repository size insights

This is a medium-sized codebase by counted code lines. Code represents 68.3% of all lines, comments represent 15.9%, and the repository averages 38 code lines per file. Rust accounts for 82.7% of counted code.

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 216 | 11,591 | 8,627 | 1,212 | 1,752 |
| TOML | 7 | 1,631 | 1,431 | 46 | 154 |
| SVG | 3 | 164 | 162 | 2 | 0 |
| HTML | 6 | 164 | 143 | 0 | 21 |
| CSS | 1 | 50 | 48 | 0 | 2 |
| Shell | 1 | 15 | 7 | 4 | 4 |
| JSON | 1 | 5 | 5 | 0 | 0 |
| Just | 1 | 5 | 4 | 0 | 1 |
| Markdown | 35 | 1,633 | 0 | 1,160 | 473 |
| Plain Text | 4 | 10 | 0 | 10 | 0 |

Top language (Rust 82.7%). Generated at 2026-09-29T18:20:37.719763887+00:00. Canonical report: https://octocounts.com/github/rust-lang/rustlings/commit/bc8e51115c9304fbd036f5d6fca683e71363468f

## Reproduce this report

[Reproduce this exact report and configuration](https://octocounts.com/github/rust-lang/rustlings/commit/bc8e51115c9304fbd036f5d6fca683e71363468f?analysis=%7B%22ignoredDirs%22%3A%5B%5D%2C%22ignoredLanguages%22%3A%5B%5D%2C%22profile%22%3A%22default%22%2C%22includeDocs%22%3Afalse%2C%22includeTests%22%3Afalse%2C%22includeGenerated%22%3Afalse%7D&reportId=65d1d45d214c0675d44c02da4c6d25f63fd29abaa8657e34e0b1e298e2cb358a).

## Report FAQ

### How many lines of code does rust-lang/rustlings have?

rust-lang/rustlings has 15,268 total lines, including 10,427 code lines, 2,434 comment lines, and 2,407 blank lines.

### How was the rust-lang/rustlings line count measured?

OctoCounts resolved the public GitHub repository to commit bc8e51115c93, downloaded the source archive, counted it with tokei, and cached the report by commit, tokei version, and analysis options.

### What commit was counted for rust-lang/rustlings?

This OctoCounts report was generated from main at commit bc8e51115c93 on 2026-09-29T18:20:37.719763887+00:00.

## Similar repository reports

- [DougAnderson444/seed-keeper](https://octocounts.com/github/DougAnderson444/seed-keeper) — Rust, 10,614 code lines
- [aniket-3001/zql](https://octocounts.com/github/aniket-3001/zql) — Rust, 10,833 code lines
- [lsd-rs/lsd](https://octocounts.com/github/lsd-rs/lsd) — Rust, 11,213 code lines
- [QuantumBadger/Speedy2D](https://octocounts.com/github/QuantumBadger/Speedy2D) — Rust, 11,427 code lines
- [WildPixelGames/voxelis](https://octocounts.com/github/WildPixelGames/voxelis) — Rust, 11,596 code lines

## Related OctoCounts pages

- [Recently analyzed repositories](https://octocounts.com/recent)
- [Popular SLOC reports](https://octocounts.com/popular)
- [Trending GitHub repositories](https://octocounts.com/trending)
- [Hall of Monoliths](https://octocounts.com/hall-of-monoliths)
- [Rust vs Go](https://octocounts.com/compare/rust-vs-go)
- [Electron vs Tauri](https://octocounts.com/compare/electron-vs-tauri)
- [Deno vs Node.js](https://octocounts.com/compare/deno-vs-node)
- [GitHub SLOC counter guide](https://octocounts.com/docs/github-sloc-counter)
- [Counting methodology](https://octocounts.com/docs/methodology)
- [SLOC and code metrics glossary](https://octocounts.com/docs/glossary)
- [Original research: how filtering changes SLOC counts](https://octocounts.com/research)
- [OctoCounts API docs](https://octocounts.com/docs/api)
