You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the build derive macro, 04-call-builder, the build function takes a &mut self, and it returns a Command with the ownership of the fields. So I have to clone the fields in the implementation, which is not correct I suppose.
The build function should take the ownership of Builder, and return a builded result.
In the build derive macro,
04-call-builder
, thebuild
function takes a&mut self
, and it returns aCommand
with the ownership of the fields. So I have toclone
the fields in the implementation, which is not correct I suppose.The build function should take the ownership of Builder, and return a builded result.
like this:
The text was updated successfully, but these errors were encountered: