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// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2// SPDX-License-Identifier: Apache-2.0
3// SPDX-License-Identifier: MIT
4
5pub mod v1;
6pub mod v2_rc;
7

After

1// Copyright 2019-2024 Tauri Programme within The Commons Conservancy
2// SPDX-License-Identifier: Apache-2.0
3// SPDX-License-Identifier: MIT
4
5pub mod v1;
6pub mod v2_beta;
7

Before

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "v1"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "v2_rc"
; ";"

After

source_file
line_comment
// "//"
line_comment
// "//"
line_comment
// "//"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "v1"
; ";"
mod_item
visibility_modifier
pub "pub"
mod "mod"
identifier "v2_beta"
; ";"