Skip to content

[Coding Guideline]: Test Again #322

@PLeVasseur

Description

@PLeVasseur

Chapter

Associated Items

Guideline Title

tbd

Category

Mandatory

Status

Draft

Release Begin

tbd

Release End

tbd

FLS Paragraph ID

fls_tbd

Decidability

Decidable

Scope

Module

Tags

numerics

Amplification

No response

Exception(s)

No response

Rationale

tbd

Non-Compliant Example 1 - Prose

tbd

Non-Compliant Example 1 - Code

# use std::mem::MaybeUninit;
# fn main() {
let x: u32 = unsafe { MaybeUninit::uninit().assume_init() }; // UB
# }

Non-Compliant Example 2 - Prose (Optional)

No response

Non-Compliant Example 2 - Code (Optional)

No response

Non-Compliant Example 3 - Prose (Optional)

No response

Non-Compliant Example 3 - Code (Optional)

No response

Non-Compliant Example 4 - Prose (Optional)

No response

Non-Compliant Example 4 - Code (Optional)

No response

Compliant Example 1 - Prose

tbd

Compliant Example 1 - Code

# use std::collections::HashMap;
# fn main() {
let mut map = HashMap::new();
map.insert("key", "value"); // Compliant usage
# }

Compliant Example 2 - Prose (Optional)

No response

Compliant Example 2 - Code (Optional)

No response

Compliant Example 3 - Prose (Optional)

No response

Compliant Example 3 - Code (Optional)

No response

Compliant Example 4 - Prose (Optional)

No response

Compliant Example 4 - Code (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    category: mandatoryA coding guideline with category mandatorychapter: associated-itemscoding guidelineAn issue related to a suggestion for a coding guidelinedecidability: decidableA coding guideline which can be checked automaticallyscope: moduleA coding guideline that can be determined applied at the module levelstatus: draft

    Type

    No type

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions