Skip to content

Commit

Permalink
fix Path.ri
Browse files Browse the repository at this point in the history
  • Loading branch information
StunxFS authored Nov 14, 2023
1 parent 1ac897a commit 1475414
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/std/src/fs/Path.ri
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ public struct Path {
}

public func file_name(path: string) -> string {
return path.all_after_last_of("/");
return path.all_after_of_last("/");
}

/// Returns the extension of the file name (if any).
Expand Down

0 comments on commit 1475414

Please sign in to comment.