@@ -130,7 +130,7 @@ impl TryFrom<metastore::DeleteQuery> for search::SearchRequest {
130130pub struct MutMetadataMap < ' a > ( & ' a mut tonic:: metadata:: MetadataMap ) ;
131131
132132impl Injector for MutMetadataMap < ' _ > {
133- /// Sets a key-value pair in the [`MetadataMap`]. No-op if the key or value is invalid.
133+ /// Sets a key-value pair in the [`tonic::metadata:: MetadataMap`]. No-op if the key or value is invalid.
134134 fn set ( & mut self , key : & str , value : String ) {
135135 if let Ok ( metadata_key) = tonic:: metadata:: MetadataKey :: from_bytes ( key. as_bytes ( ) )
136136 && let Ok ( metadata_value) = tonic:: metadata:: MetadataValue :: try_from ( & value)
@@ -141,13 +141,13 @@ impl Injector for MutMetadataMap<'_> {
141141}
142142
143143impl Extractor for MutMetadataMap < ' _ > {
144- /// Gets a value for a key from the MetadataMap. If the value can't be converted to &str,
144+ /// Gets a value for a key from the ` MetadataMap`. If the value can't be converted to &str,
145145 /// returns None.
146146 fn get ( & self , key : & str ) -> Option < & str > {
147147 self . 0 . get ( key) . and_then ( |metadata| metadata. to_str ( ) . ok ( ) )
148148 }
149149
150- /// Collect all the keys from the MetadataMap.
150+ /// Collect all the keys from the ` MetadataMap` .
151151 fn keys ( & self ) -> Vec < & str > {
152152 self . 0
153153 . keys ( )
@@ -181,13 +181,13 @@ impl Interceptor for SpanContextInterceptor {
181181struct MetadataMap < ' a > ( & ' a tonic:: metadata:: MetadataMap ) ;
182182
183183impl Extractor for MetadataMap < ' _ > {
184- /// Gets a value for a key from the MetadataMap. If the value can't be converted to &str,
184+ /// Gets a value for a key from the ` MetadataMap`. If the value can't be converted to &str,
185185 /// returns None.
186186 fn get ( & self , key : & str ) -> Option < & str > {
187187 self . 0 . get ( key) . and_then ( |metadata| metadata. to_str ( ) . ok ( ) )
188188 }
189189
190- /// Collect all the keys from the MetadataMap.
190+ /// Collect all the keys from the ` MetadataMap` .
191191 fn keys ( & self ) -> Vec < & str > {
192192 self . 0
193193 . keys ( )
0 commit comments