Skip to content

Commit

Permalink
update annotations
Browse files Browse the repository at this point in the history
  • Loading branch information
tmillr committed May 7, 2023
1 parent 1f233a6 commit 1e194ec
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions lua/plenary/path.lua
Original file line number Diff line number Diff line change
Expand Up @@ -519,9 +519,8 @@ end
---returning a new Path instance upon success. The rename is aborted if the
---new path already exists. Relative paths are interpreted relative to the
---current working directory.
---@generic T: Path
---@param opts { new_name: Path|string }
---@return T
---@param opts { new_name: Path|string } options table containing the new name
---@return Path # Path representing the new name
function Path:rename(opts)
-- TODO: For reference, Python's `Path.rename()` actually says/does this:
--
Expand Down

0 comments on commit 1e194ec

Please sign in to comment.