File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -374,6 +374,8 @@ impl RealFileName {
374374 /// if this information exists.
375375 ///
376376 /// May not exists if the filename was imported from another crate.
377+ ///
378+ /// Avoid embedding this in build artifacts; prefer `path()` or `embeddable_name()`.
377379 #[ inline]
378380 pub fn local_path ( & self ) -> Option < & Path > {
379381 if !self . was_remapped ( ) {
@@ -387,6 +389,8 @@ impl RealFileName {
387389 /// if this information exists.
388390 ///
389391 /// May not exists if the filename was imported from another crate.
392+ ///
393+ /// Avoid embedding this in build artifacts; prefer `path()` or `embeddable_name()`.
390394 #[ inline]
391395 pub fn into_local_path ( self ) -> Option < PathBuf > {
392396 if !self . was_remapped ( ) {
You can’t perform that action at this time.
0 commit comments