Skip to content

Commit 73420fc

Browse files
committed
Fix a comment.
It was duplicated from the method above.
1 parent 449b84c commit 73420fc

File tree

1 file changed

+1
-3
lines changed
  • compiler/rustc_transmute/src/maybe_transmutable

1 file changed

+1
-3
lines changed

compiler/rustc_transmute/src/maybe_transmutable/mod.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -147,9 +147,7 @@ impl<C> MaybeTransmutableQuery<Dfa<<C as QueryContext>::Ref>, C>
147147
where
148148
C: QueryContext,
149149
{
150-
/// Answers whether a `Nfa` is transmutable into another `Nfa`.
151-
///
152-
/// This method converts `src` and `dst` to DFAs, then computes an answer using those DFAs.
150+
/// Answers whether a `Dfa` is transmutable into another `Dfa`.
153151
pub(crate) fn answer(self) -> Answer<<C as QueryContext>::Ref> {
154152
MaybeTransmutableQuery {
155153
src: &self.src,

0 commit comments

Comments
 (0)