mergify · GitHub

Copy link Copy Markdown

Contributor

Problem

cargo doc emits warnings

Summary of Changes

This fixes a lot of docs that look like markdown links such that they are not interpreted as links. This happens especially in the "account references" sections of docs where the requirements of program accounts are listed. In these cases I've surrounded them with code spans, like "`[write]`", to match prevailing conventions in the spl.

It also turns bare URLs into "autolinks" by surrounding them with angle brackets.

I couldn't resist fixing some of the surrounding incorrect markdown in various ways so that it renders correctly, and follows rustdoc conventions more closely.

I also have a corresponding patch for the spl here: solana-labs/solana-program-library#2058

Read the original on github.com ↗