Skip to content

Commit

Permalink
call to_string directly on id
Browse files Browse the repository at this point in the history
  • Loading branch information
HTGAzureX1212 committed Aug 12, 2023
1 parent 854c004 commit 664baf3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ impl Repository<MemberEntity> for CachedMemberRepository {
entity
.roles
.into_iter()
.map(ToString::to_string)
.map(|id| id.to_string())
.collect::<Vec<String>>()
.join(",")
)
Expand Down

0 comments on commit 664baf3

Please sign in to comment.