diff options
author | Ben Bridle <ben@derelict.engineering> | 2024-10-31 17:44:28 +1300 |
---|---|---|
committer | Ben Bridle <ben@derelict.engineering> | 2024-10-31 17:44:28 +1300 |
commit | d31a97811b94fa4403939c289eaf98eaca237b0e (patch) | |
tree | 5ca2273bf10c7a24c0112f953d5278944e88f008 /Cargo.lock | |
parent | 23f3e64f5468da9254f16ed12fb5196350c96c8e (diff) | |
download | bedrock-pc-d31a97811b94fa4403939c289eaf98eaca237b0e.zip |
Suppress errors when flushing file and stream data
File and stream data is flushed on drop, and if flushing fails a panic
is thrown, which prints a crash message to the terminal. Since we can't
do anything if the write fails, and because file and stream writes are
approached with a best-effort attitude, we suppress the errors to
prevent the user from seeing them and getting concerned.
Diffstat (limited to 'Cargo.lock')
0 files changed, 0 insertions, 0 deletions