We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b614185 commit a973b97Copy full SHA for a973b97
Sources/System/FilePath/FilePathSyntax.swift
@@ -320,8 +320,8 @@ extension FilePath {
320
/// Example:
321
///
322
/// var path = "/tmp/file"
323
- /// path.extension = ".txt" // path is "/tmp/file.txt"
324
- /// path.extension = ".o" // path is "/tmp/file.o"
+ /// path.extension = "txt" // path is "/tmp/file.txt"
+ /// path.extension = "o" // path is "/tmp/file.o"
325
/// path.extension = nil // path is "/tmp/file"
326
/// path.extension = "" // path is "/tmp/file."
327
0 commit comments