docs (backend-rs): minor updates

This commit is contained in:
naskya 2024-07-06 02:04:24 +09:00
parent 3af46024cf
commit db0ca693c6
No known key found for this signature in database
GPG key ID: 712D413B3A9FED5C
2 changed files with 2 additions and 2 deletions

View file

@ -101,7 +101,7 @@ It is highly encouraged that you write unit tests and test the code yourself (th
## Prerequisites ## Prerequisites
1. `dev/config.env` (see `dev/config.example.env` for reference) 1. `dev/config.env` (see `dev/config.example.env` for reference)
2. PostgreSQL and Redis/Valkey instances and the config file (`.config/default.yml`) 2. Firefish config file (`.config/default.yml`)
3. Dev dependency 3. Dev dependency
- [cargo-nextest](<https://nexte.st/>) - [cargo-nextest](<https://nexte.st/>)

View file

@ -51,7 +51,7 @@ define_wrapper_proc_macro_attributes! {
/// #[cfg_attr(feature = "napi", macros::napi(attr))] /// #[cfg_attr(feature = "napi", macros::napi(attr))]
/// # fn f() {} // to work around doc test compilation error /// # fn f() {} // to work around doc test compilation error
/// ``` /// ```
/// where `attr` is given attribute(s). See [macro@napi] for more details. /// where `attr` is given attribute(s). See [macro@napi] and [macros_impl::napi::napi] for more details.
export(attr, item) { export(attr, item) {
#[cfg_attr(feature = "napi", macros::napi(#attr))] #[cfg_attr(feature = "napi", macros::napi(#attr))]
#item #item