diff options
| author | KaDiWa <kalle.wachsmuth@gmail.com> | 2022-08-09 02:14:43 +0200 |
|---|---|---|
| committer | KaDiWa <kalle.wachsmuth@gmail.com> | 2022-12-10 18:45:34 +0100 |
| commit | 9bc69925cb4a1391a9a41411c56ae059877bf8fb (patch) | |
| tree | 1fc65519e8e94f6b36d1fe27e6be25136db3dc22 /compiler/rustc_mir_dataflow/src/framework/lattice.rs | |
| parent | a161a7b654083a881b22908a475988bcc3221a79 (diff) | |
| download | rust-9bc69925cb4a1391a9a41411c56ae059877bf8fb.tar.gz rust-9bc69925cb4a1391a9a41411c56ae059877bf8fb.zip | |
compiler: remove unnecessary imports and qualified paths
Diffstat (limited to 'compiler/rustc_mir_dataflow/src/framework/lattice.rs')
| -rw-r--r-- | compiler/rustc_mir_dataflow/src/framework/lattice.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_mir_dataflow/src/framework/lattice.rs b/compiler/rustc_mir_dataflow/src/framework/lattice.rs index f0e75c53ea1..8fdac7b2cf5 100644 --- a/compiler/rustc_mir_dataflow/src/framework/lattice.rs +++ b/compiler/rustc_mir_dataflow/src/framework/lattice.rs @@ -26,7 +26,7 @@ //! ## `PartialOrd` //! //! Given that they represent partially ordered sets, you may be surprised that [`JoinSemiLattice`] -//! and [`MeetSemiLattice`] do not have [`PartialOrd`][std::cmp::PartialOrd] as a supertrait. This +//! and [`MeetSemiLattice`] do not have [`PartialOrd`] as a supertrait. This //! is because most standard library types use lexicographic ordering instead of set inclusion for //! their `PartialOrd` impl. Since we do not actually need to compare lattice elements to run a //! dataflow analysis, there's no need for a newtype wrapper with a custom `PartialOrd` impl. The |
