diff options
| author | bors[bot] <26634292+bors[bot]@users.noreply.github.com> | 2021-08-01 14:40:44 +0000 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-08-01 14:40:44 +0000 |
| commit | df0936b4af7bd573dc8906b6dbdbf80ff40b75f3 (patch) | |
| tree | d78c05f0201036fd18fb8ba1271d8cd59a0fe06e /docs/dev | |
| parent | a793a0098dde3b83d27d56b280ac83ff9788a94e (diff) | |
| parent | 4930e5d74d07de904e8f9ba0d93bf9452f6db86d (diff) | |
| download | rust-df0936b4af7bd573dc8906b6dbdbf80ff40b75f3.tar.gz rust-df0936b4af7bd573dc8906b6dbdbf80ff40b75f3.zip | |
Merge #9750
9750: Link “DST” to its definition r=lnicola a=gthb Being new to Rust I wasn't familiar with this acronym and found it hard to guess (the context of syntax trees biased me to reading it as a D-something Syntax Tree and trying to guess what the D was), hard to google (in retrospect googling "rust dst" does the job, but I thought it was an abstract structure thing, not Rust-specific), and hard to Github-search, because `dst` is commonly short for “destination” in code. Alternatively `<abbr title="dynamically sized type">DST</abbr>` would be about as helpful. Co-authored-by: Gunnlaugur Thor Briem <gunnlaugur@gmail.com>
Diffstat (limited to 'docs/dev')
| -rw-r--r-- | docs/dev/syntax.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/dev/syntax.md b/docs/dev/syntax.md index 5a065e00ef6..4f45aa321b3 100644 --- a/docs/dev/syntax.md +++ b/docs/dev/syntax.md @@ -110,7 +110,7 @@ FN@0..17 (significant amount of implementation work here was done by [CAD97](https://github.com/cad97)). -To reduce the amount of allocations, the GreenNode is a DST, which uses a single allocation for header and children. Thus, it is only usable behind a pointer +To reduce the amount of allocations, the GreenNode is a [DST](https://doc.rust-lang.org/reference/dynamically-sized-types.html), which uses a single allocation for header and children. Thus, it is only usable behind a pointer. ``` *-----------+------+----------+------------+--------+--------+-----+--------* |
