refactor/polish ~ fix cargo clippy complaints (missing_safety_doc; with ToDO for safety note)

This commit is contained in:
Roy Ivy III 2020-02-07 04:05:13 -06:00
parent 080cbb55c3
commit c484fb8065

View file

@ -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") {