Files
rust/library/std/src
bors 28acba3c61 Auto merge of #115460 - zachs18:borrowedcursor_write_no_panic, r=dtolnay
Don't panic in `<BorrowedCursor as io::Write>::write`

Instead of panicking if the BorrowedCursor does not have enough capacity for the whole buffer, just return a short write, [like `<&mut [u8] as io::Write>::write` does](https://doc.rust-lang.org/src/std/io/impls.rs.html#349).

(cc `@ChayimFriedman2` https://github.com/rust-lang/rust/issues/78485#issuecomment-1493129588)

(I'm not sure if this needs an ACP? since it's not changing the "API", just what the function does)
2023-11-08 14:08:48 +00:00
..
2023-10-20 21:14:01 +00:00
2023-08-07 12:18:27 -04:00
2023-08-13 13:07:53 -06:00
2023-10-03 20:26:36 -04:00
2023-10-31 14:34:02 +08:00
2023-04-27 15:56:57 +02:00
2023-10-27 15:18:32 +02:00
2023-05-03 22:09:33 -07:00
2023-10-31 14:34:02 +08:00
2023-10-25 22:35:12 +00:00
2023-10-03 20:26:36 -04:00