Skip to content

Commit

Permalink
Rework Duration implementation based on @nightkr gist
Browse files Browse the repository at this point in the history
This reworks/simplifies the `Duration` implementation. Supported
units are now clearly defned by an enum and the parsing/display
mechanism is now way more explicit and defined in one place.

Co-authored-by: Natalie Klestrup Röijezon <teo.roijezon@stackable.de>
  • Loading branch information
Techassi and nightkr committed Sep 14, 2023
1 parent 7dd912f commit c4d22b0
Show file tree
Hide file tree
Showing 3 changed files with 374 additions and 393 deletions.
393 changes: 0 additions & 393 deletions src/duration.rs

This file was deleted.

Loading

0 comments on commit c4d22b0

Please sign in to comment.