Skip to content

Commit 12a0436

Browse files
committed
from_row: mention unnamed fields in docstrings
1 parent 4de9669 commit 12a0436

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

scylla/src/macros.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
/// #[derive(FromRow)] derives FromRow for struct
1+
/// Derive macro for the [`FromRow`](crate::frame::response::cql_to_rust::FromRow) trait
2+
/// which deserializes a row to given Rust structure.
23
///
3-
/// Works only on simple structs without generics etc
4+
/// It is supported for structs with either named or unnamed fields.
5+
/// It works only for simple structs without generics etc.
46
///
57
/// ---
68
///

0 commit comments

Comments
 (0)