diff options
author | Nick Mathewson <nickm@torproject.org> | 2024-05-10 00:46:25 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2024-05-10 00:46:25 +0000 |
commit | 1dfa25bef7e43eb309e3949f4ca07df390dfd57c (patch) | |
tree | a0f43a4cd39ba4db5d06a2ed045055633f5c44a7 | |
parent | 1fb9afb478e6edb37071ab6804a92905795fd81e (diff) | |
parent | c66b5d4f0f5578f179e1fe2e93ad72b059ae171a (diff) | |
download | arti-main.tar.gz arti-main.zip |
Fix rustdoc errors from !2140.
See merge request tpo/core/arti!2142
-rw-r--r-- | crates/tor-rpcbase/src/obj/cast.rs | 4 |
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, |