Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

1#![cfg(not(target_os = "windows"))]
2mod wgpu_atlas;
3mod wgpu_context;
4mod wgpu_renderer;
5
6pub use wgpu_atlas::*;
7pub use wgpu_context::*;
8pub use wgpu_renderer::*;
9

After

1mod cosmic_text_system;
2mod wgpu_atlas;
3mod wgpu_context;
4mod wgpu_renderer;
5
6pub use cosmic_text_system::*;
7pub use wgpu_atlas::*;
8pub use wgpu_context::*;
9pub use wgpu_renderer::*;
10

Before

source_file
inner_attribute_item
# "#"
! "!"
[ "["
attribute
identifier "cfg"
token_tree
( "("
identifier "not"
token_tree
( "("
identifier "target_os"
= "="
string_literal
" "\""
string_content "windows"
" "\""
) ")"
) ")"
] "]"
mod_item
mod "mod"
identifier "wgpu_atlas"
; ";"
mod_item
mod "mod"
identifier "wgpu_context"
; ";"
mod_item
mod "mod"
identifier "wgpu_renderer"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "wgpu_atlas"
:: "::"
* "*"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "wgpu_context"
:: "::"
* "*"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "wgpu_renderer"
:: "::"
* "*"
; ";"

After

source_file
mod_item
mod "mod"
identifier "cosmic_text_system"
; ";"
mod_item
mod "mod"
identifier "wgpu_atlas"
; ";"
mod_item
mod "mod"
identifier "wgpu_context"
; ";"
mod_item
mod "mod"
identifier "wgpu_renderer"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "cosmic_text_system"
:: "::"
* "*"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "wgpu_atlas"
:: "::"
* "*"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "wgpu_context"
:: "::"
* "*"
; ";"
use_declaration
visibility_modifier
pub "pub"
use "use"
use_wildcard
identifier "wgpu_renderer"
:: "::"
* "*"
; ";"