awslabs / mls-rs

An implementation of Messaging Layer Security (RFC 9420)
Apache License 2.0
105 stars 19 forks source link

Let `TestGroup` deref to `Group` #183

Closed mgeisler closed 3 months ago

mgeisler commented 3 months ago

Description of changes:

This lets us treat a TestGroup as a Group in most places and thus turn a lot of alice_group.group lines into just alice_group.

Call-outs:

This makes the code less explicit, but on balance I like the new way since it reduces stutter.

Testing:

Unit tests pass before/after.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 and MIT license.