ok/jj
1
0
Fork 0
forked from mirrors/jj
jj/lib
Evan Mesterhazy a28beb5b8f Allow id_type! to capture doc comments
This allows us to define documentation comments for types implemented using the
id_type! macro. Comments defined above the type inside the macro will be
captured and visible in generated docs.

Example:

```
id_type!(
    /// Stable identifier for a [`Commit`]. Unlike the `CommitId`, the `ChangeId`
    /// follows the commit and is not updated when the commit is rewritten.
    pub ChangeId
);
```

This commit also adds documentation for the `CommitId` and `ChangeId` types
defined using the `id_type!` macro.
2024-02-27 10:37:05 -05:00
..
benches
gen-protos
proc-macros Output better error messages when deriving ContentHash for an enum fails 2024-02-20 16:29:25 -05:00
src Allow id_type! to capture doc comments 2024-02-27 10:37:05 -05:00
tests tests: disable gpg unknown_key() test on Windows as well 2024-02-27 00:55:06 +09:00
testutils
Cargo.toml Switch to ignore crate for gitignore handling. 2024-02-20 09:12:46 -08:00
LICENSE