Skip to content

Commit 880991e

Browse files
Apply suggested fix to libcc2rs/src/io.rs from Copilot Autofix
Co-authored-by: Copilot Autofix powered by AI <223894421+github-code-quality[bot]@users.noreply.github.com>
1 parent e4cf123 commit 880991e

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libcc2rs/src/io.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -63,23 +63,23 @@ pub fn cerr() -> Ptr<std::fs::File> {
6363
/// # Safety
6464
///
6565
/// The caller must ensure that the returned pointer is not used after the
66-
// thread finishes.
66+
/// thread finishes.
6767
pub unsafe fn cin_unsafe() -> *mut std::fs::File {
6868
UNSAFE_STDIN.with(UnsafeCell::get)
6969
}
7070

7171
/// # Safety
7272
///
7373
/// The caller must ensure that the returned pointer is not used after the
74-
// thread finishes.
74+
/// thread finishes.
7575
pub unsafe fn cout_unsafe() -> *mut std::fs::File {
7676
UNSAFE_STDOUT.with(UnsafeCell::get)
7777
}
7878

7979
/// # Safety
8080
///
8181
/// The caller must ensure that the returned pointer is not used after the
82-
// thread finishes.
82+
/// thread finishes.
8383
pub unsafe fn cerr_unsafe() -> *mut std::fs::File {
8484
UNSAFE_STDERR.with(UnsafeCell::get)
8585
}

0 commit comments

Comments
 (0)