Skip to content

Commit

Permalink
string: replace From<&str> with TryFrom<&str>
Browse files Browse the repository at this point in the history
  • Loading branch information
newAM committed Oct 21, 2023
1 parent 9094278 commit 58bc3f8
Show file tree
Hide file tree
Showing 2 changed files with 78 additions and 48 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/).

- [breaking-change] this crate now depends on `atomic-polyfill` v1.0.1, meaning that targets that
require a polyfill need a `critical-section` **v1.x.x** implementation.
- [breaking-change] `From<&str>` for `String` was replaced with `TryFrom<&str>` because the `From` trait must not fail.

### Fixed

Expand Down
Loading

0 comments on commit 58bc3f8

Please sign in to comment.