Skip to content

Commit aad4d88

Browse files
committed
doctest
Signed-off-by: tison <wander4096@gmail.com>
1 parent 460c013 commit aad4d88

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

fastrace/src/macros.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@ macro_rules! full_name {
7777
/// fn foo() {
7878
/// let loc = file_location!();
7979
/// let mut parts = loc.rsplitn(3, ':');
80-
/// let file = parts.next().unwrap();
81-
/// let line = parts.next().unwrap();
8280
/// let column = parts.next().unwrap();
81+
/// let line = parts.next().unwrap();
82+
/// let file = parts.next().unwrap();
8383
/// assert!(file.ends_with(".rs"), "{file} should end with .rs");
8484
/// assert!(
8585
/// line.parse::<u32>().is_ok(),

0 commit comments

Comments
 (0)