Skip to content

Commit 2690009

Browse files
committed
chore: put citations in table
1 parent 5b7d0d0 commit 2690009

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

src/coding-guidelines/types-and-traits.rst

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -285,10 +285,14 @@ Types and Traits
285285
:id: bib_UnionFieldValidity
286286
:status: draft
287287

288-
.. [RUST-REF-UNION] The Rust Project Developers. “Rust Reference: Unions.” *The Rust Reference*, n.d. https://doc.rust-lang.org/reference/items/unions.html.
289-
.. [UCG-VALIDITY] Rust Unsafe Code Guidelines Working Group. “Validity and Safety Invariant.” *Rust Unsafe Code Guidelines*, n.d. https://rust-lang.github.io/unsafe-code-guidelines/glossary.html#validity-and-safety-invariant.
290-
291-
288+
.. list-table::
289+
:header-rows: 0
290+
:widths: 10 80
291+
292+
* - .. [RUST-REF-UNION]
293+
- The Rust Project Developers. "Rust Reference: Unions." *The Rust Reference*, n.d. https://doc.rust-lang.org/reference/items/unions.html.
294+
* - .. [UCG-VALIDITY]
295+
- Rust Unsafe Code Guidelines Working Group. "Validity and Safety Invariant." *Rust Unsafe Code Guidelines*, n.d. https://rust-lang.github.io/unsafe-code-guidelines/glossary.html#validity-and-safety-invariant.
292296

293297
.. guideline:: Use strong types to differentiate between logically distinct values
294298
:id: gui_xztNdXA2oFNC

0 commit comments

Comments
 (0)