Closed volsa closed 1 month ago
Delegates clone() calls into the From<&SourceLocation> implementation rather than have them in the caller. Specifically code like with_location(location.clone()) can now be rewritten into with_location(location).
clone()
From<&SourceLocation>
with_location(location.clone())
with_location(location)
Delegates
clone()
calls into theFrom<&SourceLocation>
implementation rather than have them in the caller. Specifically code likewith_location(location.clone())
can now be rewritten intowith_location(location)
.