Skip to content

Commit

Permalink
docs: Don't use term 'unsound': this is not UB
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Aug 5, 2023
1 parent 52c2573 commit 89c9858
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,10 @@ fn main() {

### Compile-time

For convenience, there's also a `const fn`, usable statically. As a tradeoff, it's
potentially unsound.
For convenience, there's also a `const fn`, usable statically. As a tradeoff, instance
creation will not perform correctness checks. An unsorted string will result in binary
search misbehaving. Though no panics occur, you will be handed back an `Error`. See the
documentation of [`SortedString::new_unchecked()`] for details.

```rust
use b4s::{AsciiChar, SortedString};
Expand Down

0 comments on commit 89c9858

Please sign in to comment.