Skip to content

Commit 70f57ed

Browse files
committed
Fix some typos in the docs
s/double abort/double panic/
1 parent f178ce3 commit 70f57ed

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/backtrace/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ use types::c_void;
3030
/// # Panics
3131
///
3232
/// This function strives to never panic, but if the `cb` provided panics then
33-
/// some platforms will force a double abort to abort the process. Some
33+
/// some platforms will force a double panic to abort the process. Some
3434
/// platforms use a C library which internally uses callbacks which cannot be
3535
/// unwound through, so panicking from `cb` may trigger a process abort.
3636
///

src/symbolize/mod.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ use backtrace::Frame;
3636
/// # Panics
3737
///
3838
/// This function strives to never panic, but if the `cb` provided panics then
39-
/// some platforms will force a double abort to abort the process. Some
39+
/// some platforms will force a double panic to abort the process. Some
4040
/// platforms use a C library which internally uses callbacks which cannot be
4141
/// unwound through, so panicking from `cb` may trigger a process abort.
4242
///
@@ -80,7 +80,7 @@ pub fn resolve<F: FnMut(&Symbol)>(addr: *mut c_void, cb: F) {
8080
/// # Panics
8181
///
8282
/// This function strives to never panic, but if the `cb` provided panics then
83-
/// some platforms will force a double abort to abort the process. Some
83+
/// some platforms will force a double panic to abort the process. Some
8484
/// platforms use a C library which internally uses callbacks which cannot be
8585
/// unwound through, so panicking from `cb` may trigger a process abort.
8686
///

0 commit comments

Comments
 (0)