]> git.lizzy.rs Git - rust.git/blobdiff - library/std/src/collections/hash/set.rs
Rollup merge of #89876 - AlexApps99:const_ops, r=oli-obk
[rust.git] / library / std / src / collections / hash / set.rs
index 5804701892e6e447641ea8144b1a815c42799648..546c43faecfdc6f5f3bbc5b15d16028bcfdd5361 100644 (file)
@@ -38,8 +38,8 @@
 /// determined by the [`Eq`] trait, changes while it is in the set. This is
 /// normally only possible through [`Cell`], [`RefCell`], global state, I/O, or
 /// unsafe code. The behavior resulting from such a logic error is not
-/// specified, but will not result in undefined behavior. This could include
-/// panics, incorrect results, aborts, memory leaks, and non-termination.
+/// specified (it could include panics, incorrect results, aborts, memory
+/// leaks, or non-termination) but will not be undefined behavior.
 ///
 /// # Examples
 ///