diff options
| author | Linus Färnstrand <linus@mullvad.net> | 2018-05-16 17:40:38 +0200 |
|---|---|---|
| committer | Linus Färnstrand <linus@mullvad.net> | 2018-05-17 03:00:54 +0200 |
| commit | 2774796534e9f4d98022865f0ab3ce1f82fa52cd (patch) | |
| tree | 7396070fb8060783c2c1efefb6152d10f7e7b199 /windows-service/examples | |
| parent | 573cc43b06730b6a4d59402e8772d06d3fd38910 (diff) | |
| download | mullvadvpn-2774796534e9f4d98022865f0ab3ce1f82fa52cd.tar.xz mullvadvpn-2774796534e9f4d98022865f0ab3ce1f82fa52cd.zip | |
Change from to_string_lossy() to display() on paths
Diffstat (limited to 'windows-service/examples')
| -rw-r--r-- | windows-service/examples/simple_service.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/windows-service/examples/simple_service.rs b/windows-service/examples/simple_service.rs index 7125221d90..ee72ddbe73 100644 --- a/windows-service/examples/simple_service.rs +++ b/windows-service/examples/simple_service.rs @@ -74,7 +74,7 @@ mod simple_service { } OpenLogFile(path: PathBuf) { description("Unable to open log file for writing") - display("Unable to open log file for writing: {}", path.to_string_lossy()) + display("Unable to open log file for writing: {}", path.display()) } InitLogger { description("Cannot initialize logger") |
