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:
parent
82af514926
commit
310779c39d
|
@ -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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue