Skip to content

Commit 7adeb35

Browse files
refactor(Missing): remove url prop
1 parent f66aa52 commit 7adeb35

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

src/components/Missing.astro

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,7 @@
11
---
2-
interface Props {
3-
// The expected url of the missing resource
4-
url?: string;
5-
}
62
---
73

8-
<span class="missing" title={Astro.props.url ?? "Missing Resource"}>
4+
<span class="missing">
95
<slot />
106
</span>
117

src/content/docs/cpp/language/basic_concepts.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ import { Revision } from "@components/revision";
1212

1313
This section provides definitions for the specific terminology and the concepts used when describing the C++ programming language.
1414

15-
A C++ program is a sequence of text files (typically header and source files) that contain <Missing url="">declarations</Missing>. They undergo <Missing>translation</Missing> to become an executable program, which is executed when the C++ implementation calls its <DocLink dest="cpp.lang.main">main function</DocLink>.
15+
A C++ program is a sequence of text files (typically header and source files) that contain <Missing>declarations</Missing>. They undergo <Missing>translation</Missing> to become an executable program, which is executed when the C++ implementation calls its <DocLink dest="cpp.lang.main">main function</DocLink>.
1616

1717
Certain words in a C++ program have special meaning, and these are known as <Missing>keywords</Missing>. Others can be used as <Missing>identifiers</Missing>. <Missing>Comments</Missing> are ignored during translation. C++ programs also contain <Missing>literals</Missing>, the values of characters inside them are determined by <Missing>character sets and encodings</Missing>. Certain characters in the program have to be represented with <Missing>escape sequences</Missing>.
1818

0 commit comments

Comments
 (0)