Skip to content

Commit a8556d7

Browse files
committed
Stabilize the panic_col feature
I've added the panic_col feature in PR #42938. Now it's time to stabilize it! Closes #42939.
1 parent 61452e5 commit a8556d7

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/libstd/panicking.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,6 @@ impl<'a> Location<'a> {
316316
/// # Examples
317317
///
318318
/// ```should_panic
319-
/// #![feature(panic_col)]
320319
/// use std::panic;
321320
///
322321
/// panic::set_hook(Box::new(|panic_info| {
@@ -329,7 +328,7 @@ impl<'a> Location<'a> {
329328
///
330329
/// panic!("Normal panic");
331330
/// ```
332-
#[unstable(feature = "panic_col", reason = "recently added", issue = "42939")]
331+
#[stable(feature = "panic_col", since = "1.24")]
333332
pub fn column(&self) -> u32 {
334333
self.col
335334
}

0 commit comments

Comments
 (0)