aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2024-05-10 00:46:25 +0000
committerNick Mathewson <nickm@torproject.org>2024-05-10 00:46:25 +0000
commit1dfa25bef7e43eb309e3949f4ca07df390dfd57c (patch)
treea0f43a4cd39ba4db5d06a2ed045055633f5c44a7
parent1fb9afb478e6edb37071ab6804a92905795fd81e (diff)
parentc66b5d4f0f5578f179e1fe2e93ad72b059ae171a (diff)
downloadarti-main.tar.gz
arti-main.zip
Merge branch 'doc_fix' into 'main'HEADmain
Fix rustdoc errors from !2140. See merge request tpo/core/arti!2142
-rw-r--r--crates/tor-rpcbase/src/obj/cast.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/crates/tor-rpcbase/src/obj/cast.rs b/crates/tor-rpcbase/src/obj/cast.rs
index 8b9c46a05..5d5a1ffef 100644
--- a/crates/tor-rpcbase/src/obj/cast.rs
+++ b/crates/tor-rpcbase/src/obj/cast.rs
@@ -71,7 +71,7 @@ impl CastTable {
///
/// `cast_to_ref` is a downcaster from `&dyn Object` to `&dyn Tr`.
///
- /// `cast_to_arc` is a downcaster from `Arc<dyn Object>` to `Arc<dyn Tr>``
+ /// `cast_to_arc` is a downcaster from `Arc<dyn Object>` to `Arc<dyn Tr>`.
///
/// These functions SHOULD
/// panic if the concrete type of its argument is not the concrete type `O`
@@ -154,7 +154,7 @@ impl CastTable {
///
/// Panics if the concrete type of `obj` does not match `O`.
///
- /// May panic if any of the Requirements for [`CastTable::insert_arc`] were
+ /// May panic if any of the Requirements for [`CastTable::insert`] were
/// violated.
pub fn cast_object_to_arc<T: 'static + ?Sized>(
&self,