about summary refs log tree commit diff
diff options
context:
space:
mode:
authorNicholas Nethercote <n.nethercote@gmail.com>2023-10-06 11:21:33 +1100
committerNicholas Nethercote <n.nethercote@gmail.com>2023-10-06 11:22:06 +1100
commit73420fc13bb23151f1baa7199ffa3a38ab955de4 (patch)
treeecfa60a1007e671d4ecf4ec497b480b605c5d54c
parent449b84cb99203a1eaa735f49958b6ddabc8de779 (diff)
downloadrust-73420fc13bb23151f1baa7199ffa3a38ab955de4.tar.gz
rust-73420fc13bb23151f1baa7199ffa3a38ab955de4.zip
Fix a comment.
It was duplicated from the method above.
-rw-r--r--compiler/rustc_transmute/src/maybe_transmutable/mod.rs4
1 files changed, 1 insertions, 3 deletions
diff --git a/compiler/rustc_transmute/src/maybe_transmutable/mod.rs b/compiler/rustc_transmute/src/maybe_transmutable/mod.rs
index ae193ef99e6..6484a2968ff 100644
--- a/compiler/rustc_transmute/src/maybe_transmutable/mod.rs
+++ b/compiler/rustc_transmute/src/maybe_transmutable/mod.rs
@@ -147,9 +147,7 @@ impl<C> MaybeTransmutableQuery<Dfa<<C as QueryContext>::Ref>, C>
 where
     C: QueryContext,
 {
-    /// Answers whether a `Nfa` is transmutable into another `Nfa`.
-    ///
-    /// This method converts `src` and `dst` to DFAs, then computes an answer using those DFAs.
+    /// Answers whether a `Dfa` is transmutable into another `Dfa`.
     pub(crate) fn answer(self) -> Answer<<C as QueryContext>::Ref> {
         MaybeTransmutableQuery {
             src: &self.src,