Skip to content

Commit

Permalink
Fix a comment.
Browse files Browse the repository at this point in the history
It was duplicated from the method above.
  • Loading branch information
nnethercote committed Oct 6, 2023
1 parent 449b84c commit 73420fc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions compiler/rustc_transmute/src/maybe_transmutable/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 73420fc

Please sign in to comment.