# rust-lang/rustlings SLOC report

> As of 2026-09-11 (commit c2455bc676dc), rust-lang/rustlings contains 15,058 total lines: 10,296 code, 2,379 comments, 2,383 blank, across 265 files in 10 languages (top: Rust 82.7%). Counted with tokei via OctoCounts.

OctoCounts produced this report by resolving rust-lang/rustlings to commit c2455bc676dc, downloading the repository source archive, and counting every source file 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, so counting the same revision again reproduces exactly these numbers.

## Repository size insights

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

| Language | Files | Lines | Code | Comments | Blanks |
| --- | ---: | ---: | ---: | ---: | ---: |
| Rust | 211 | 11,469 | 8,515 | 1,210 | 1,744 |
| TOML | 6 | 1,597 | 1,408 | 39 | 150 |
| SVG | 3 | 164 | 162 | 2 | 0 |
| HTML | 6 | 165 | 143 | 0 | 22 |
| CSS | 1 | 54 | 51 | 0 | 3 |
| Shell | 1 | 16 | 8 | 4 | 4 |
| JSON | 1 | 5 | 5 | 0 | 0 |
| Just | 1 | 5 | 4 | 0 | 1 |
| Markdown | 34 | 1,582 | 0 | 1,123 | 459 |
| Plain Text | 1 | 1 | 0 | 1 | 0 |

Top language (Rust 82.7%). Generated at 2026-09-11T19:44:09.985536877+00:00. Canonical report: https://octocounts.com/github/rust-lang/rustlings

## Report FAQ

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

rust-lang/rustlings has 15,058 total lines, including 10,296 code lines, 2,379 comment lines, and 2,383 blank lines.

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

OctoCounts resolved the public GitHub repository to commit c2455bc676dc, 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 c2455bc676dcdf3628a529cb1193e2f48fdbd195 at commit c2455bc676dc on 2026-09-11T19:44:09.985536877+00:00.

## Similar repository reports

- [CrankZ/li-calendar](https://octocounts.com/github/CrankZ/li-calendar) — Rust, 10,181 code lines
- [notkisk/rustlings](https://octocounts.com/github/notkisk/rustlings) — Rust, 10,435 code lines
- [second-state/qwen3_tts_rs](https://octocounts.com/github/second-state/qwen3_tts_rs) — Rust, 10,051 code lines
- [icodesign/remote-installer](https://octocounts.com/github/icodesign/remote-installer) — Rust, 9,998 code lines
- [ogham/exa](https://octocounts.com/github/ogham/exa) — Rust, 9,469 code lines
- [MystikoLab/rustcast](https://octocounts.com/github/MystikoLab/rustcast) — Rust, 9,455 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)
- [OctoCounts API docs](https://octocounts.com/docs/api)
