Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitfda084f

Browse files
authored
Type-assert the return type ofcollect(...) in TOML (#59932)
1 parentf80fd6f commitfda084f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎stdlib/TOML/src/print.jl‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -117,7 +117,7 @@ function print_integer(io::IO, value::Integer)
117117
end
118118

119119
functionprint_inline_table(f::Function, io::IO, value::AbstractDict, sorted::Bool)
120-
vkeys=collect(keys(value))
120+
vkeys=collect(keys(value))::AbstractArray
121121
if sorted
122122
sort!(vkeys)
123123
end

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp