diff --git a/docs/src/general/changelog.md b/docs/src/general/changelog.md index 6ce26b5f7..916ddc861 100644 --- a/docs/src/general/changelog.md +++ b/docs/src/general/changelog.md @@ -50,7 +50,7 @@ description: | - Exposed [list]($func/list.item), [enum]($func/enum.item), and [term list]($func/terms.item) items in their respective functions' scope - The `at` methods on [strings]($type/string.at), [arrays]($type/array.at), - [dictionaries]($type/dict.at), and [content]($type/content.at) now support + [dictionaries]($type/dictionary.at), and [content]($type/content.at) now support specifying a default value - Added support for passing a function to [`replace`]($type/string.replace) that is called with each match. diff --git a/library/src/compute/data.rs b/library/src/compute/data.rs index 90ac03c98..b321b7531 100644 --- a/library/src/compute/data.rs +++ b/library/src/compute/data.rs @@ -323,7 +323,7 @@ fn format_toml_error(error: toml::de::Error) -> EcoString { /// /// Display: YAML /// Category: data-loading -/// Returns: array or value or dictionary +/// Returns: array or dictionary or none or bool or int or float or string #[func] pub fn yaml( /// Path to a YAML file.