mirror of
https://github.com/uutils/coreutils
synced 2024-12-17 16:43:16 +00:00
refactor/polish ~ fix cargo clippy
complaints (missing_safety_doc; with ToDO for safety note)
This commit is contained in:
parent
080cbb55c3
commit
c484fb8065
1 changed files with 2 additions and 0 deletions
|
@ -55,6 +55,8 @@ fn set_buffer(stream: *mut FILE, value: &str) {
|
|||
}
|
||||
}
|
||||
|
||||
/// # Safety
|
||||
/// ToDO ... (safety note)
|
||||
#[no_mangle]
|
||||
pub unsafe extern "C" fn __stdbuf() {
|
||||
if let Ok(val) = env::var("_STDBUF_E") {
|
||||
|
|
Loading…
Reference in a new issue