diff options
Diffstat (limited to 'src/expand/file_line.cpp')
-rw-r--r-- | src/expand/file_line.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/expand/file_line.cpp b/src/expand/file_line.cpp index 9337bbf5..cfe859bd 100644 --- a/src/expand/file_line.cpp +++ b/src/expand/file_line.cpp @@ -64,8 +64,7 @@ class CExpanderModulePath: ::std::string path_str; path_str += crate.m_crate_name; for(const auto& comp : mod.path().nodes()) { - if( !path_str.empty() ) - path_str += "::"; + path_str += "::"; path_str += comp.name().c_str(); } return box$( TTStreamO(sp, TokenTree( Token(TOK_STRING, mv$(path_str)) )) ); |