浏览代码

Update builder.odin

Modify documentation-text for procedure write_f64 :

change type f32 to f64
Timo 1 年之前
父节点
当前提交
2918baa3e8
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      core/strings/builder.odin

+ 2 - 2
core/strings/builder.odin

@@ -709,11 +709,11 @@ write_f32 :: proc(b: ^Builder, f: f32, fmt: byte, always_signed := false) -> (n:
 	return write_string(b, s)
 }
 /*
-Writes a f32 value to the Builder and returns the number of characters written
+Writes a f64 value to the Builder and returns the number of characters written
 
 Inputs:
 - b: A pointer to the Builder
-- f: The f32 value to be appended
+- f: The f64 value to be appended
 - fmt: The format byte
 - always_signed: Optional boolean flag to always include the sign