Skip to content

Consider using an enum for the quantity name. See: info_provider.rs #4173

Open
@younies

Description

@younies

Problem

  1. UnitQuantity struct: Consider using an enum for the quantity name.
pub struct UnitQuantity<'data> {
// TODO: Consider using an enum for the quantity name.
pub quantity: Cow<'data, str>,
}

Proposed Solution

  1. Replace quantity field with an enum.

Feedback or suggestions are welcome.

Metadata

Metadata

Assignees

Labels

C-numbersComponent: Numbers, units, currencies

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions