As the (Async)Api::new is basically a shortcut for the new_url it's a bit more obvious to reuse the new_url method more explicitly.
Also improves the linking to the actual methods in the doc comments. (Which also allows it to check that the given method actually exists which is neat on refactorings.)
As the
(Async)Api::new
is basically a shortcut for thenew_url
it's a bit more obvious to reuse thenew_url
method more explicitly.Also improves the linking to the actual methods in the doc comments. (Which also allows it to check that the given method actually exists which is neat on refactorings.)