mirror of
https://github.com/vlang/v.git
synced 2025-09-13 14:32:26 +03:00
docs: document more builtin
functions/methods (#14229)
This commit is contained in:
parent
dcdfdf4dd8
commit
a2338dbb7c
8 changed files with 19 additions and 1 deletions
|
@ -13,6 +13,7 @@ pub mut:
|
|||
delimiter u8
|
||||
}
|
||||
|
||||
// new_writer returns a reference to a Writer
|
||||
pub fn new_writer() &Writer {
|
||||
return &Writer{
|
||||
delimiter: `,`
|
||||
|
@ -75,6 +76,7 @@ fn (w &Writer) field_needs_quotes(field string) bool {
|
|||
return false
|
||||
}
|
||||
|
||||
// str returns the writer contents
|
||||
pub fn (mut w Writer) str() string {
|
||||
return w.sb.str()
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue