~sircmpwn/hare-users

Notice: breaking change to strings::fromutf8

Details
Message ID
<CNI4NNE8ZOML.F9S79ROU6DA5@taiga>
DKIM signature
missing
Download raw message
Be advised that strings::try_fromutf8 has been removed from the standard
library, and strings::fromutf8 now returns an error on invalid input.

Using the earlier behavior (aborting on invalid UTF-8 input) can be
accomplished with the following change:

	// Before
	strings::fromutf8(whatever);
	// After
	strings::fromutf8(whatever)!;
Reply to thread Export thread (mbox)