Template:Alloc

From Rust Community Wiki
Jump to navigation Jump to search

This is a wrapper around Template:Doc and exists to shorten {{Doc|alloc/foo|Bar}} to just {{alloc|foo|Bar}}.

Links to documentation for the 'alloc' crate.

Template parameters

ParameterDescriptionTypeStatus
Relative URL1

The URL to the item without a slash at the start

Example
boxed/struct.Box.html
Stringrequired
Displayed text2

The text to display on the link

Stringrequired