comparison rust/hg-core/src/utils/hg_path.rs @ 50412:331a3cbe1c9e

rustdoc: fixed warnings about links This is the minimal fix making those that actually were supposed to be links to work (including in private items).
author Georges Racinet <georges.racinet@octobus.net>
date Mon, 03 Apr 2023 15:32:39 +0200
parents e98fd81bb151
children d27b6fc7c1bf
comparison
equal deleted inserted replaced
50411:071a6c1d291e 50412:331a3cbe1c9e
477 fn extend<T: IntoIterator<Item = u8>>(&mut self, iter: T) { 477 fn extend<T: IntoIterator<Item = u8>>(&mut self, iter: T) {
478 self.inner.extend(iter); 478 self.inner.extend(iter);
479 } 479 }
480 } 480 }
481 481
482 /// TODO: Once https://www.mercurial-scm.org/wiki/WindowsUTF8Plan is 482 /// TODO: Once <https://www.mercurial-scm.org/wiki/WindowsUTF8Plan> is
483 /// implemented, these conversion utils will have to work differently depending 483 /// implemented, these conversion utils will have to work differently depending
484 /// on the repository encoding: either `UTF-8` or `MBCS`. 484 /// on the repository encoding: either `UTF-8` or `MBCS`.
485 485
486 pub fn hg_path_to_os_string<P: AsRef<HgPath>>( 486 pub fn hg_path_to_os_string<P: AsRef<HgPath>>(
487 hg_path: P, 487 hg_path: P,