google / google/comprehensive-rust
Copyright notice in code snippets
Open
bug
- Dominant language
- Rust
- Stars
- 33.4k
- Forks
- 2.1k
- Avg merge
- 1d 3h
- Merged PRs (30d)
- 10
Description
Most code snippets in the course show a copyright header of the form
```rust
// Copyright 20xx Google LLC
// SPDX-License-Identifier: Apache-2.0
```
This is a problem since it's visual noise that takes up valuable screen space.
Some code blocks don't show this header though. My preliminary investigation suggests that blocks opened by only
```rust
don't show the copyright header whereas those opened by more complex fences, such as
```rust,editable
do show it.
Contributor guide
Assessment
This issue has not been assessed yet.