zed/crates/acp_thread
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
..
src Use Duration to improve type safety and unit correctness (#62969) 2026-08-21 07:28:05 +00:00
Cargo.toml acp: Support embedded resources in tool call content (#59821) 2026-06-24 15:25:44 +00:00
LICENSE-GPL