File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -1244,7 +1244,7 @@ impl PathBuf {
12441244 ///
12451245 /// The caller has free choice over the returned lifetime, including 'static.
12461246 /// Indeed, this function is ideally used for data that lives for the remainder of
1247- /// the program’ s life, as dropping the returned reference will cause a memory leak.
1247+ /// the program' s life, as dropping the returned reference will cause a memory leak.
12481248 ///
12491249 /// It does not reallocate or shrink the `PathBuf`, so the leaked allocation may include
12501250 /// unused capacity that is not part of the returned slice. If you want to discard excess
@@ -3028,7 +3028,7 @@ impl Path {
30283028 ///
30293029 /// This function always resolves `..` to the "lexical" parent.
30303030 /// That is "a/b/../c" will always resolve to `a/c` which can change the meaning of the path.
3031- /// In particular, `a/c` and `a/b/../c` are distinct on many systems because `b` may be a symbolic link, so its parent isn’ t `a`.
3031+ /// In particular, `a/c` and `a/b/../c` are distinct on many systems because `b` may be a symbolic link, so its parent isn' t `a`.
30323032 ///
30333033 /// </div>
30343034 ///
You can’t perform that action at this time.
0 commit comments