@@ -249,7 +249,7 @@ pub fn unlink(path: &Path) {
249249/// directory, etc. This function will traverse symlinks to query
250250/// information about the destination file.
251251///
252- /// Returns a fully-filled out stat structure on succes , and on failure it
252+ /// Returns a fully-filled out stat structure on success , and on failure it
253253/// will return a dummy stat structure (it is expected that the condition
254254/// raised is handled as well).
255255///
@@ -342,7 +342,7 @@ pub fn rename(from: &Path, to: &Path) {
342342///
343343/// # Errors
344344///
345- /// Will raise an `io_error` condition is the following situtations , but is
345+ /// Will raise an `io_error` condition is the following situations , but is
346346/// not limited to just these cases:
347347///
348348/// * The `from` path is not a file
@@ -391,7 +391,7 @@ pub fn copy(from: &Path, to: &Path) {
391391///
392392/// # Errors
393393///
394- /// If this funciton encounters an I/O error, it will raise on the `io_error`
394+ /// If this function encounters an I/O error, it will raise on the `io_error`
395395/// condition. Some possible error situations are not having the permission to
396396/// change the attributes of a file or the file not existing.
397397pub fn chmod ( path : & Path , mode : io:: FilePermission ) {
@@ -402,7 +402,7 @@ pub fn chmod(path: &Path, mode: io::FilePermission) {
402402///
403403/// # Errors
404404///
405- /// This funtion will raise on the `io_error` condition on failure.
405+ /// This function will raise on the `io_error` condition on failure.
406406pub fn chown ( path : & Path , uid : int , gid : int ) {
407407 io_raise ( |io| io. fs_chown ( & path. to_c_str ( ) , uid, gid) ) ;
408408}
@@ -448,7 +448,7 @@ pub fn readlink(path: &Path) -> Option<Path> {
448448///
449449/// let p = Path::new("/some/dir");
450450/// fs::mkdir(&p, S_IRWXU as int);
451- /// // If we got here, our directory exists! Horray !
451+ /// // If we got here, our directory exists! Hooray !
452452///
453453/// # Errors
454454///
@@ -665,7 +665,7 @@ impl path::Path {
665665 io:: result ( || self . stat ( ) ) . is_ok ( )
666666 }
667667
668- /// Whether the underlying implemention (be it a file path, or something
668+ /// Whether the underlying implementation (be it a file path, or something
669669 /// else) points at a "regular file" on the FS. Will return false for paths
670670 /// to non-existent locations or directories or other non-regular files
671671 /// (named pipes, etc).
@@ -680,7 +680,7 @@ impl path::Path {
680680 }
681681 }
682682
683- /// Whether the underlying implemention (be it a file path,
683+ /// Whether the underlying implementation (be it a file path,
684684 /// or something else) is pointing at a directory in the underlying FS.
685685 /// Will return false for paths to non-existent locations or if the item is
686686 /// not a directory (eg files, named pipes, links, etc)
0 commit comments