diff --git a/src/program-structure-and-compilation.rst b/src/program-structure-and-compilation.rst index 1f771808..4f5cfb7f 100644 --- a/src/program-structure-and-compilation.rst +++ b/src/program-structure-and-compilation.rst @@ -139,7 +139,8 @@ the :t:`name` ``main`` with a :t:`main function signature` is the :t:`binary crate`'s :t:`program entry point`. :dp:`fls_d9nn4yuiw1ja` -A :t:`library crate` is a :t:`crate` that is not a :t:`binary crate`. +A :t:`library crate` is a :t:`crate` whose :t:`crate type` is ``lib``, ``rlib``, +``staticlib``, ``dylib``, ``cdylib`` or ``proc-macro``. :dp:`fls_Mf62VqAhoZ3c` A :t:`proc-macro crate` is a :t:`crate` whose :t:`crate type` is ``proc-macro``.