Skip to content
This repository has been archived by the owner on Oct 16, 2020. It is now read-only.

debloat generated variadic generics in Rust docs to make it concise

Notifications You must be signed in to change notification settings

foriequal0/rust-doc-is-too-verbose

Repository files navigation

Rust doc is too verbose

It collapses generated variadic generics in Rust docs to make it concise. Rust doesn't have a variadic generic. So std mimics it with the macro. They aren't hidden nor collapsed in the doc. It makes the doc too verbose and navigating it too hard. That's why I've made this.

Demo

Before

Do you really wanna see the tremendous amount of generated code pieces?

Too long list of impls

After

Concise list of impls

  • the label is collapsable.

How to build or run

It is a standard web-ext package with typescript. I have a Makefile for the common workflows.

npm install
make build
make run

About

debloat generated variadic generics in Rust docs to make it concise

Resources

Stars

Watchers

Forks

Packages

No packages published