Page MenuHomePhabricator

rust: Rename the `Revlog::get_node_rev` method to `rev_from_node`
ClosedPublic

Authored by SimonSapin on Tue, Sep 14, 12:45 PM.

Details

Summary

This better describes the input and outputs of this method.

Also rewrite the doc-comment, which seemed to have been left from copy-paste
of another method.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.