Add accidentally removed link in docs

This commit is contained in:
João M. Bezerra 2021-11-10 09:52:05 -03:00
parent d27e259b26
commit 63cfeb26ef

View File

@ -9,7 +9,7 @@ use std::{
///
/// This is different from [`Path::display`].
///
/// See for a comparison.
/// See https://gist.github.com/marcospb19/ebce5572be26397cf08bbd0fd3b65ac1 for a comparison.
pub fn to_utf(os_str: impl AsRef<OsStr>) -> String {
let text = format!("{:?}", os_str.as_ref());
text.trim_matches('"').to_string()