Parcourir la source

Fixed non-compiling example

Brady McDonough il y a 7 ans
Parent
commit
e898dd0fbf
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      src/lib.rs

+ 2 - 1
src/lib.rs

@@ -1465,7 +1465,8 @@ impl Url {
     ///
     /// url.set_port( Some( 443 ) ).map_err( |_| "cannot be base" )?;
     /// assert!( url.port( ).is_none( ) );
-    /// }
+    /// # Ok( () )
+    /// # }
     /// # run( ).unwrap( );
     /// ```
     ///