Skip to content

Commit 75d8cd7

Browse files
Update NEWS.md
Co-Authored-By: Lyndon White <[email protected]>
1 parent 9235f44 commit 75d8cd7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

NEWS.md

+1-3
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@ New library functions
2525
* The `tempname` function now takes an optional `parent::AbstractString` argument to give it a directory in which to attempt to produce a temporary path name ([#33090]).
2626
* The `tempname` function now takes a `cleanup::Bool` keyword argument defaulting to `true`, which causes the process to try to ensure that any file or directory at the path returned by `tempname` is deleted upon process exit ([#33090]).
2727
* The `readdir` function now takes a `join::Bool` keyword argument defaulting to `false`, which when set causes `readdir` to join its directory argument with each listed name ([#33113]).
28-
28+
* The new `only(x)` function returns the one-and-only element of a collection `x`, and throws an `ArgumentError` if `x` contains zero or multiple elements. ([#33129])
2929

3030
Standard library changes
3131
------------------------
3232

3333
* The methods of `mktemp` and `mktempdir` which take a function body to pass temporary paths to no longer throw errors if the path is already deleted when the function body returns ([#33091]).
3434

35-
* New function `only(x)` returns the one-and-only element of a collection `x`, and throws an error if `x` contains zero or multiple elements.
36-
3735
#### Libdl
3836

3937
#### LinearAlgebra

0 commit comments

Comments
 (0)