Skip to content

How to code repeated structs and comments? #5835

Answered by epage
darshanCommits asked this question in Q&A
Discussion options

You must be logged in to vote

I was asking if something like #[doc = var] can be done.

Oh, yes, you could do

#[arg(about = FILE_DOC)]

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@darshanCommits
Comment options

@epage
Comment options

epage Dec 4, 2024
Maintainer

Answer selected by darshanCommits
@darshanCommits
Comment options

@epage
Comment options

epage Dec 4, 2024
Maintainer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants