File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -155,8 +155,9 @@ pub fn tidy_kind(kind: libr::SEXPTYPE) -> &'static str {
155
155
/// other C longjumps from collapsing the debugging context. If a Rust panic
156
156
/// occurs however, it is propagated as normal.
157
157
///
158
- /// Note that the resulting string is stored on the R heap and never freed. This
159
- /// should only be used in a debugging context where leaking is not an issue.
158
+ /// Note that the resulting string is stored on the Rust heap and never freed.
159
+ /// This should only be used in a debugging context where leaking is not an
160
+ /// issue.
160
161
pub fn capture_console_output ( cb : impl FnOnce ( ) ) -> * const ffi:: c_char {
161
162
let old = CAPTURE_CONSOLE_OUTPUT . swap ( true , Ordering :: SeqCst ) ;
162
163
You can’t perform that action at this time.
0 commit comments