Skip to content

Commit 36c2f84

Browse files
authored
Merge pull request #448 from dtolnay/link
Switch to short form url links in rustdoc
2 parents 3f76b5d + 7614e77 commit 36c2f84

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

src/lib.rs

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@
5858
//! # Example
5959
//!
6060
//! A runnable version of this example is provided under the *demo* directory of
61-
//! [https://github.com/dtolnay/cxx]. To try it out, run `cargo run` from that
61+
//! <https://github.com/dtolnay/cxx>. To try it out, run `cargo run` from that
6262
//! directory.
6363
//!
6464
//! ```no_run
@@ -253,7 +253,7 @@
253253
//! For use in non-Cargo builds like Bazel or Buck, CXX provides an alternate
254254
//! way of invoking the C++ code generator as a standalone command line tool.
255255
//! The tool is packaged as the `cxxbridge-cmd` crate on crates.io or can be
256-
//! built from the *gen/cmd* directory of [https://github.com/dtolnay/cxx].
256+
//! built from the *gen/cmd* directory of <https://github.com/dtolnay/cxx>.
257257
//!
258258
//! ```bash
259259
//! $ cargo install cxxbridge-cmd
@@ -328,7 +328,7 @@
328328
//! </table>
329329
//!
330330
//! The C++ API of the `rust` namespace is defined by the *include/cxx.h* file
331-
//! in [https://github.com/dtolnay/cxx]. You will need to include this header in
331+
//! in <https://github.com/dtolnay/cxx>. You will need to include this header in
332332
//! your C++ code when working with those types.
333333
//!
334334
//! The following types are intended to be supported "soon" but are just not
@@ -345,8 +345,6 @@
345345
//! <tr><td><sup><i>tbd</i></sup></td><td>std::unordered_map&lt;K, V&gt;</td></tr>
346346
//! <tr><td><sup><i>tbd</i></sup></td><td>std::shared_ptr&lt;T&gt;</td></tr>
347347
//! </table>
348-
//!
349-
//! [https://github.com/dtolnay/cxx]: https://github.com/dtolnay/cxx
350348
351349
#![no_std]
352350
#![doc(html_root_url = "https://docs.rs/cxx/0.5.8")]

0 commit comments

Comments
 (0)