MergeMinds / mm-backend

3 stars 1 forks source link

Remove unnecessary `Clone` trait from `UserRole` #5

Closed nrydanov closed 3 weeks ago

nrydanov commented 6 months ago

As we discussed, Copy can be used there.

evgenymng commented 4 weeks ago

As you probably know, Copy is a marker trait, which suggests that the objects of that type can be copied cheaply. It cannot exist without Clone. So, either the title of the issue should state "Mark UserRole as Copy", or it doesn't make a lot of sense.

UPDs: clarifications