rustdoc

package
v0.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 10, 2026 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Overview

Package rustdoc parses Rust documentation comments (/// and //!) into structured DocComment values. It extracts structure from markdown sections: # Arguments, # Returns, # Errors, # Panics, # Examples, # Safety.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Parser

type Parser struct{}

Parser implements docparser.Parser for Rust doc comments.

func New

func New() *Parser

New returns a new Rust doc comment parser.

func (*Parser) Parse

func (p *Parser) Parse(raw string) *docparser.DocComment

Parse parses a Rust doc comment into a DocComment.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL