forked from jocull/rust-measurements
-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Description
Hello! Sorry it's a rookie question, I was browsing documentation and have a small question regarding trait Measurement
: as far as I understand, because from_base_unit() returns Self
, trait itself is not object safe. That's what the compiler is pointing out when trying to Box<dyn Measurement>
so I was wondering if it's by design.
Metadata
Metadata
Assignees
Labels
No labels