chore: rewrite docstrings with generics
This commit is contained in:
parent
91a976c634
commit
b9598ca046
5 changed files with 8 additions and 8 deletions
|
|
@ -80,7 +80,7 @@ pub fn init(db_path string) !VieterDb {
|
|||
}
|
||||
}
|
||||
|
||||
// row_into<T> converts an sqlite.Row into a given type T by parsing each field
|
||||
// row_into[T] converts an sqlite.Row into a given type T by parsing each field
|
||||
// from a string according to its type.
|
||||
pub fn row_into[T](row sqlite.Row) T {
|
||||
mut i := 0
|
||||
|
|
|
|||
Reference in a new issue