We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 460c013 commit aad4d88Copy full SHA for aad4d88
1 file changed
fastrace/src/macros.rs
@@ -77,9 +77,9 @@ macro_rules! full_name {
77
/// fn foo() {
78
/// let loc = file_location!();
79
/// let mut parts = loc.rsplitn(3, ':');
80
-/// let file = parts.next().unwrap();
81
-/// let line = parts.next().unwrap();
82
/// let column = parts.next().unwrap();
+/// let line = parts.next().unwrap();
+/// let file = parts.next().unwrap();
83
/// assert!(file.ends_with(".rs"), "{file} should end with .rs");
84
/// assert!(
85
/// line.parse::<u32>().is_ok(),
0 commit comments