Skip to content

Commit 6036ca2

Browse files
committed
Add library crate definition back
1 parent a5d06a2 commit 6036ca2

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/changelog.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@ Language changes in Rust 1.79.0
7474
* Updated glossary entries: :t:`binary crate`, :t:`proc-macro crate`
7575
* Updated paragraphs: :p:`fls_9ub6ks8qrang`, :p:`fls_Mf62VqAhoZ3c`
7676
* Moved paragraph: :p:`fls_sbGnkm8Ephiu`
77-
* Removed paragraph about library crates
7877

7978
* `Check return types of function types for well-formedness <https://github.com/rust-lang/rust/pull/115538>`_
8079

src/glossary.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3744,6 +3744,14 @@ lexical element
37443744
A :dt:`lexical element` is the most basic syntactic element in program
37453745
text.
37463746

3747+
.. _fls_r1sk7vdgckym:
3748+
3749+
library crate
3750+
^^^^^^^^^^^^^
3751+
3752+
:dp:`fls_3m8lg4mdc2x0`
3753+
A :dt:`library crate` is a :t:`crate` that is not a :t:`binary crate`.
3754+
37473755
.. _fls_vdhaa61g6kah:
37483756

37493757
lifetime

src/program-structure-and-compilation.rst

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,9 @@ The :t:`function` in scope of a :t:`binary crate`'s :t:`crate root module` under
138138
the :t:`name` ``main`` with a :t:`main function signature` is the :t:`binary
139139
crate`'s :t:`program entry point`.
140140

141+
:dp:`fls_d9nn4yuiw1ja`
142+
A :t:`library crate` is a :t:`crate` that is not a :t:`binary crate`.
143+
141144
:dp:`fls_Mf62VqAhoZ3c`
142145
A :t:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``.
143146

0 commit comments

Comments
 (0)