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:
@@ -78,8 +78,8 @@ export fn sleep(d: duration, c: clock) void = {
|
||||
};
|
||||
};
|
||||
|
||||
// ref/hare/time/arithm.ha:9. Adds duration to instant. The
|
||||
// negative-duration branch normalises nsec into [0, second).
|
||||
// ref/hare/time/arithm.ha:9. The negative-duration branch normalises
|
||||
// nsec into [0, second).
|
||||
export fn add(i: instant, x: duration) instant = {
|
||||
let r: instant;
|
||||
let xi: i64 = x: i64;
|
||||
@@ -100,8 +100,7 @@ export fn add(i: instant, x: duration) instant = {
|
||||
return r;
|
||||
};
|
||||
|
||||
// ref/hare/time/arithm.ha:26. Returns duration from a to b.
|
||||
// Sign convention: b - a.
|
||||
// ref/hare/time/arithm.ha:26. Sign convention: b - a.
|
||||
export fn diff(a: instant, b: instant) duration = {
|
||||
let sec: i64 = second: i64;
|
||||
let v: i64 = ((b.sec - a.sec) * sec) + (b.nsec - a.nsec);
|
||||
|
||||
Reference in New Issue
Block a user