You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is closely related to rust-lang/rfcs#1014 which made print! and friends not panic if stdout doesn't exist. Should it be expanded to cover other kinds of behavior?
Also see discussion in #25977 (comment)
I agree that making print! not panic could be an even better solution. However, in the meantime, we still have an undocumented Panic. My suggestion is to fix the docs first (and don't forget to roll them back if we fix the actual panic!) and then concentrate on #25977.
Invocations of the
print!(..)
andprintln!(..)
macros may panic if stdout isn't writeable. This is undocumented as of yet.Proposed solution: Add a
# Panics
section in both doc comments.The text was updated successfully, but these errors were encountered: