projectfluent / fluent-rs

Rust implementation of Project Fluent
https://projectfluent.org
Apache License 2.0
1.04k stars 95 forks source link

Change the resource ids to be a Set rather than a Vec #277

Closed gregtatum closed 1 year ago

gregtatum commented 1 year ago

See Bug 1755216 for a larger discussion, but this changes the behavior so that when multiple ResourceIds are added, they do not trigger a Fluent error. It changes the behavior to a noop, since the behavior of the translated messages doesn't actually change.