Skip to content

Commit 012deee

Browse files
authored
Update types-and-traits.rst
repaired bibliography
1 parent 4f57936 commit 012deee

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

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

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -283,17 +283,14 @@ Types and Traits
283283
284284
.. bibliography::
285285

286-
.. [RUST-REF-UNION] The Rust Project Developers. "Rust Reference - Unions."
287-
https://doc.rust-lang.org/reference/items/unions.html
286+
.. [RUST-REF-UNION] The Rust Project Developers. “Rust Reference: Unions.” *The Rust Reference*, n.d. https://doc.rust-lang.org/reference/items/unions.html.
288287
289-
.. [RUST-REF-UB] The Rust Project Developers. "Rust Reference - Behavior considered undefined."
290-
https://doc.rust-lang.org/reference/behavior-considered-undefined.html
288+
.. [RUST-REF-UB] The Rust Project Developers. “Rust Reference: Behavior Considered Undefined.” *The Rust Reference*, n.d. https://doc.rust-lang.org/reference/behavior-considered-undefined.html.
291289
292-
.. [UCG-VALIDITY] Rust Unsafe Code Guidelines Working Group. "Validity and Safety Invariant."
293-
https://rust-lang.github.io/unsafe-code-guidelines/glossary.html#validity-and-safety-invariant
290+
.. [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.
291+
292+
.. [RUST-NOMICON-UNION] The Rust Project Developers. “Unions.” *The Rustonomicon*, n.d. https://doc.rust-lang.org/nomicon/unions.html.
294293
295-
.. [RUST-NOMICON-UNION] The Rust Project Developers. "The Rustonomicon - Unions."
296-
https://doc.rust-lang.org/nomicon/unions.html
297294
298295
.. guideline:: Use strong types to differentiate between logically distinct values
299296
:id: gui_xztNdXA2oFNC

0 commit comments

Comments
 (0)