fix strings.Builder.str()

This commit is contained in:
Alexander Medvednikov 2019-11-17 02:22:43 +03:00
parent be7cf3e812
commit 6ae8457f35
4 changed files with 7 additions and 8 deletions

View file

@ -86,6 +86,6 @@ fn (w &Writer) field_needs_quotes(field string) bool {
return false
}
pub fn (w &Writer) str() string {
pub fn (w mut Writer) str() string {
return w.sb.str()
}