lib/file: fix doc of `Path::filename`
[nit.git] / lib / standard / file.nit
index 00575f2..97a3a3b 100644 (file)
@@ -360,7 +360,7 @@ class Path
        # Path to this file
        redef fun to_s do return path
 
-       # Name of the file name at `to_s`
+       # Short name of the file at `to_s`
        #
        # ~~~
        # var path = "/tmp/somefile".to_path