Skip to content

Commit

Permalink
[ISSUE #189]Enum Module impl ToString trait
Browse files Browse the repository at this point in the history
  • Loading branch information
mxsm committed Sep 14, 2023
1 parent 0049628 commit 099a2a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nacos-macro/src/message/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ enum Module {
Internal,
}

impl Module {
impl ToString for Module {
fn to_string(&self) -> &str {
match self {
Module::Config => "config",
Expand Down

0 comments on commit 099a2a0

Please sign in to comment.