Skip to content

Commit

Permalink
Fix '\' being rendered as ’' on docs.rs
Browse files Browse the repository at this point in the history
Before, this would render as two quotes since the `\` escapes the closing quote. Escaping the backslach itself should fix this.
  • Loading branch information
RagnarGrootKoerkamp committed Nov 15, 2021
1 parent ad4a4c4 commit b1591e7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/alignment.rs
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ impl Alignment {
/// sequence x, second line is for the alignment operation and the
/// the third line is for the sequence y. A '-' in the sequence
/// indicates a blank (insertion/deletion). The operations follow
/// the following convention: '|' for a match, '\' for a mismatch,
/// the following convention: '|' for a match, '\\' for a mismatch,
/// '+' for an insertion, 'x' for a deletion and ' ' for clipping
///
/// # Example
Expand Down

0 comments on commit b1591e7

Please sign in to comment.