Skip to content

Commit

Permalink
Convert html links to intra-doc links
Browse files Browse the repository at this point in the history
  • Loading branch information
dtolnay committed Feb 20, 2025
1 parent 926094d commit d3ff539
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion gen/build/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ pub use crate::cfg::{Cfg, CFG};
/// additional source files or compiler flags, and lastly call its [`compile`]
/// method to execute the C++ build.
///
/// [`compile`]: https://docs.rs/cc/1.0.49/cc/struct.Build.html#method.compile
/// [`compile`]: cc::Build::compile
#[must_use]
pub fn bridge(rust_source_file: impl AsRef<Path>) -> Build {
bridges(iter::once(rust_source_file))
Expand Down
2 changes: 1 addition & 1 deletion src/cxx_string.rs
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ impl CxxString {
/// sequences with the U+FFFD [replacement character] and returns a
/// Cow::Owned String.
///
/// [replacement character]: https://doc.rust-lang.org/std/char/constant.REPLACEMENT_CHARACTER.html
/// [replacement character]: char::REPLACEMENT_CHARACTER
#[cfg(feature = "alloc")]
#[cfg_attr(docsrs, doc(cfg(feature = "alloc")))]
pub fn to_string_lossy(&self) -> Cow<str> {
Expand Down
2 changes: 1 addition & 1 deletion src/type_id.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/// For use in impls of the `ExternType` trait. See [`ExternType`].
///
/// [`ExternType`]: trait.ExternType.html
/// [`ExternType`]: crate::ExternType
#[macro_export]
macro_rules! type_id {
($($path:tt)*) => {
Expand Down

0 comments on commit d3ff539

Please sign in to comment.