lib: banner purge + WHY-only comment sweep (rule 8)
Every // ---- section banner dies (132 -> 0): names carry the WHAT. Narration deleted (filename restatements, run-with lines, what-the- next-line-does); every ref/hare cite, task cite, divergence, ABI/ layout contract, and ownership qualifier kept (borrowed-view lines restored where the sweep over-cut). Comment-only proven: all 442 walk-workdir .s and 32 import-probe .s byte-identical before/after; libbyteid 56-roster all-ID.
This commit is contained in:
@@ -113,9 +113,8 @@ fn nextrand() u64 = {
|
||||
// exposes getenv; documented in the file header.
|
||||
fn gettmpdir() str = { return "/tmp"; };
|
||||
|
||||
// puts — copy `s` into pathbuf starting at `off`. Caps writes
|
||||
// against pathbuf's capacity so a long caller-supplied dir can't
|
||||
// run off the end. Returns the new offset.
|
||||
// Caps writes against pathbuf's capacity so a long caller-supplied
|
||||
// dir can't run off the end.
|
||||
fn puts(off: i32, s: str) i32 = {
|
||||
let i: i32 = 0;
|
||||
for (i < s.len) {
|
||||
@@ -126,7 +125,6 @@ fn puts(off: i32, s: str) i32 = {
|
||||
return off + i;
|
||||
};
|
||||
|
||||
// puthex — 16 lowercase hex digits of `v` into pathbuf[off..off+16].
|
||||
fn puthex(off: i32, v: u64) i32 = {
|
||||
let hex: str = "0123456789abcdef";
|
||||
let i: i32 = 0;
|
||||
|
||||
Reference in New Issue
Block a user