Procházet zdrojové kódy

Hide Url::assert_invariants from docs.

Simon Sapin před 10 roky
rodič
revize
0c12771a44
1 změnil soubory, kde provedl 1 přidání a 0 odebrání
  1. 1 0
      src/lib.rs

+ 1 - 0
src/lib.rs

@@ -266,6 +266,7 @@ impl Url {
     /// Methods of the `Url` struct assume a number of invariants.
     /// Methods of the `Url` struct assume a number of invariants.
     /// This checks each of these invariants and panic if one is not met.
     /// This checks each of these invariants and panic if one is not met.
     /// This is for testing rust-url itself.
     /// This is for testing rust-url itself.
+    #[doc(hidden)]
     pub fn assert_invariants(&self) {
     pub fn assert_invariants(&self) {
         macro_rules! assert {
         macro_rules! assert {
             ($x: expr) => {
             ($x: expr) => {