From 0b84ec0b3c260bc8a75616f73f0bfa9bdec0d600 Mon Sep 17 00:00:00 2001 From: Matt Jolly Date: Sun, 17 Nov 2024 15:25:46 +1000 Subject: [PATCH] rust.eclass: break up eclass documentation Signed-off-by: Matt Jolly --- eclass/rust.eclass | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/eclass/rust.eclass b/eclass/rust.eclass index b578f6cf9afaf..450911ba2ea00 100644 --- a/eclass/rust.eclass +++ b/eclass/rust.eclass @@ -13,8 +13,10 @@ # a given Rust slot. To use the eclass: # # 1. If required, set RUST_{MAX,MIN}_SLOT to the range of supported slots. +# # 2. If rust is optional, set RUST_OPTIONAL to a non-empty value then -# appropriately gate ${RUST_DEPEND} +# appropriately gate ${RUST_DEPEND} +# # 3. Use rust_pkg_setup, get_rust_prefix or RUST_SLOT. # Example use for a package supporting Rust 1.72.0 to 1.82.0: