TorClient:runtime(): rename from get_runtime

As per
  https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/350#note_2781368
This commit is contained in:
Ian Jackson 2022-02-25 10:45:30 +00:00
parent 82af514926
commit 310779c39d
1 changed files with 1 additions and 1 deletions

View File

@ -821,7 +821,7 @@ impl<R: Runtime> TorClient<R> {
//
// We provide it simply to save callers who have a TorClient from
// having to separately keep their own handle,
pub fn get_runtime(&self) -> &R {
pub fn runtime(&self) -> &R {
&self.runtime
}