Skip to content

Commit 94160c0

Browse files
authored
Add "since" doc metadata to File.rename/2 (#10328)
1 parent bc542dc commit 94160c0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/elixir/lib/file.ex

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -735,6 +735,7 @@ defmodule File do
735735
File.rename("samples", "tmp")
736736
737737
"""
738+
@doc since: "1.1.0"
738739
@spec rename(Path.t(), Path.t()) :: :ok | {:error, posix}
739740
def rename(source, destination) do
740741
:file.rename(source, destination)

0 commit comments

Comments
 (0)