From 5bc5722796178197b18a33eb94d51c8764b555d0 Mon Sep 17 00:00:00 2001 From: martinvuyk Date: Wed, 4 Dec 2024 11:44:25 -0300 Subject: [PATCH] fix details Signed-off-by: martinvuyk --- docs/changelog.md | 1 + stdlib/src/utils/index.mojo | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/changelog.md b/docs/changelog.md index 640824629c..c1ff0ac449 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -570,6 +570,7 @@ what we publish. - The `UnsafePointer.bitcast` overload for `DType` has been removed. Wrap your `DType` in a `Scalar[my_dtype]` to call the only overload of `bitcast` now. +- Direct access to `List.size` has been removed. Use the public API instead. ### 🛠️ Fixed diff --git a/stdlib/src/utils/index.mojo b/stdlib/src/utils/index.mojo index ed211fdb8e..29d74c2ebe 100644 --- a/stdlib/src/utils/index.mojo +++ b/stdlib/src/utils/index.mojo @@ -744,7 +744,7 @@ struct IndexList[ res.write(self[i]) # Single element tuples should be printed with a trailing comma. if size == 1: - res.write(", ") + res.write(",") # Print a closing `)`. res.write(")") return res^