Closed svmnotn closed 8 years ago
Just as a note, atom find & replace did 90% of the work :blush:
Ok so, as_*
is a better replacement for to_*
than into_*
?
Nope... as_*
has the same issue.
I prefer using impl Into<_>
for the to_schema
/to_definition
scenario, and changing self
to &self
for to_json
.
Oh shoot, I forgot about the error, that complicates Into
. It's fine for now because eventually id like to move away from this mode of deserialization.
Looks good to merge 👍
I just installed cargo clippy and was looking to see where to try it.
So I ran cargo clippy on this and fixed all the warnings.
I would like some comments on
into_
vsas_