fix most compiler/ doctests
This commit is contained in:
parent
bf611439e3
commit
7907385999
116 changed files with 666 additions and 609 deletions
|
@ -100,7 +100,7 @@ pub struct CodeSuggestion {
|
|||
/// `foo.bar` might be replaced with `a.b` or `x.y` by replacing
|
||||
/// `foo` and `bar` on their own:
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore (illustrative)
|
||||
/// vec![
|
||||
/// Substitution { parts: vec![(0..3, "a"), (4..7, "b")] },
|
||||
/// Substitution { parts: vec![(0..3, "x"), (4..7, "y")] },
|
||||
|
@ -109,7 +109,7 @@ pub struct CodeSuggestion {
|
|||
///
|
||||
/// or by replacing the entire span:
|
||||
///
|
||||
/// ```
|
||||
/// ```ignore (illustrative)
|
||||
/// vec![
|
||||
/// Substitution { parts: vec![(0..7, "a.b")] },
|
||||
/// Substitution { parts: vec![(0..7, "x.y")] },
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue