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 {
1244
1244
///
1245
1245
/// The caller has free choice over the returned lifetime, including 'static.
1246
1246
/// 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.
1248
1248
///
1249
1249
/// It does not reallocate or shrink the `PathBuf`, so the leaked allocation may include
1250
1250
/// unused capacity that is not part of the returned slice. If you want to discard excess
@@ -3028,7 +3028,7 @@ impl Path {
3028
3028
///
3029
3029
/// This function always resolves `..` to the "lexical" parent.
3030
3030
/// 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`.
3032
3032
///
3033
3033
/// </div>
3034
3034
///
You can’t perform that action at this time.
0 commit comments