fix ordering of attributes being used before being introduced
Signed-off-by: Axel Nennker [email protected]
The compiler was complaining about the following:
warning: derive helper attribute is used before it is introduced --> src/services/pool/types.rs:357:3 | 357 | #[serde(tag = "op")] | ^^^^^ 358 | #[derive(Serialize, Deserialize, Debug)] | --------- the attribute is introduced here | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! = note: for more information, see issue #79202 https://github.com/rust-lang/rust/issues/79202
This PR reorders the two code lines so that the attribute is used after being introduced
I think the build failure is not due to this PR.
@AxelNennker, you are correct, it is not. A fix for the build issues has been implemented (#2470), which should have also addressed the changes you made here. Please confirm and close the PR is this is the case.