Skip to content

Commit c0ff285

Browse files
committed
Deserialization macros: link to respective traits in doc comment
Serialization macros doc comments already do this, I see no reason not to do that here.
1 parent 5194615 commit c0ff285

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

scylla-macros/src/lib.rs

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -244,8 +244,9 @@ pub fn serialize_row_derive(tokens_input: TokenStream) -> TokenStream {
244244

245245
mod deserialize;
246246

247-
/// Derive macro for the `DeserializeRow` trait that generates an implementation
248-
/// which deserializes a row with a similar layout to the Rust struct.
247+
/// Derive macro for the [`DeserializeRow`](../scylla_cql/deserialize/row/trait.DeserializeRow.html)
248+
/// trait that generates an implementation which deserializes a row with
249+
/// a similar layout to the Rust struct.
249250
///
250251
/// At the moment, only structs with named fields are supported.
251252
///
@@ -365,9 +366,9 @@ pub fn deserialize_row_derive(tokens_input: TokenStream) -> TokenStream {
365366
}
366367
}
367368

368-
/// Derive macro for the `DeserializeValue` trait that generates an implementation
369-
/// which deserializes a User Defined Type with the same layout as the Rust
370-
/// struct.
369+
/// Derive macro for the [`DeserializeValue`](../scylla_cql/deserialize/value/trait.DeserializeValue.html)
370+
/// trait that generates an implementation which deserializes a User Defined Type
371+
/// with the same layout as the Rust struct.
371372
///
372373
/// At the moment, only structs with named fields are supported.
373374
///

0 commit comments

Comments
 (0)