Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(derive): unqualified use of std::time::Duration in macro
Up until now, the Duration used in AsyncDrop#drop_timeout was unqualified, which meant that downstream users of the lib would get errors since the struct wasn't imported. This commit qualifies use of Duration in the generated code for the AsyncDrop derive macro to avoid errors/forcing downstream consumers to `use std::time::Duration`. Signed-off-by: vados <[email protected]>
- Loading branch information