Skip to content

Commit

Permalink
fix(docs): In/Out was swapped for DosFix
Browse files Browse the repository at this point in the history
  • Loading branch information
alexpovel committed Oct 26, 2023
1 parent 469f5cd commit 9d56346
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/scoping/dosfix.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,10 @@ use log::trace;
/// [x = 3 ](# the value␍)[␊]
/// ```
///
/// where `[...]` means [`In`] scope, and `(...)` [`Out`]. Combined with an action such
/// where `(...)` means [`In`] scope, and `[...]` [`Out`]. Combined with an action such
/// as [`Deletion`], this will rip line endings apart, and worst of all end up in
/// *mixed* line endings for the resulting document.
/// *mixed* line endings for the resulting document (e.g., if everything in scope is
/// deleted).
///
/// This [`Scoper`] ensures `\r` is [`Out`] of scope (note: it cannot, by itself, decide
/// if that's actually the correct behavior). It is much cheaper done here than fixing
Expand Down

0 comments on commit 9d56346

Please sign in to comment.