Skip to content

Commit e898dd0

Browse files
committed
Fixed non-compiling example
1 parent 2fc6bd5 commit e898dd0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1465,7 +1465,8 @@ impl Url {
14651465
///
14661466
/// url.set_port( Some( 443 ) ).map_err( |_| "cannot be base" )?;
14671467
/// assert!( url.port( ).is_none( ) );
1468-
/// }
1468+
/// # Ok( () )
1469+
/// # }
14691470
/// # run( ).unwrap( );
14701471
/// ```
14711472
///

0 commit comments

Comments
 (0)