 
   ## Examples
 
-      File.open("file.txt", [:read, :write], fn(file) ->
+      File.open("file.txt", [:read, :write], fn file ->
         IO.read(file, :line)
       end)
 

  ## Examples

      # Rename file "a.txt" to "b.txt"
      File.rename "a.txt", "b.txt"

      # Rename directory "samples" to "tmp"
      File.rename "samples", "tmp"

  """
  @spec rename(Path.t(), Path.t()) :: :ok | {:error, posix}

      File.dir?("~/Downloads")
      #=> false

      "~/Downloads" |> Path.expand() |> File.dir?()
      #=> true

  """
