zed/crates/edit_prediction_cli
tidely 5b70f793d3
Use Duration to improve type safety and unit correctness (#62969)
# Objective

- Prefer using `Duration` instead of integers when dealing with spans of
time. This prevents confusing different units of time and comparing
arbitrary integers with durations.
- Remove `_ms`/`_secs` suffixes from variables which are `Duration`,
since their unit is inside of the type.
- Initialize large integer constants using `Duration`, which has more
descriptive constructors, while maintaining the resulting integer type.

Release Notes:

- N/A or Added/Fixed/Improved ...
2026-08-21 07:28:05 +00:00
..
evals Add edit prediction evals that test related excerpt usage (#50256) 2026-02-26 15:36:29 -08:00
src Use Duration to improve type safety and unit correctness (#62969) 2026-08-21 07:28:05 +00:00
build.rs
Cargo.toml Switch from cargo-machete to cargo-shear (#62643) 2026-08-20 10:08:48 +00:00
LICENSE-GPL