google / google/comprehensive-rust

Copyright notice in code snippets

Open
#3,101 2 comments 0 reactions 1 assignee Claimed by @gribozavr View on GitHub
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

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.