Skip to content

Latest commit

 

History

History
14 lines (14 loc) · 642 Bytes

CONTRIBUTING.md

File metadata and controls

14 lines (14 loc) · 642 Bytes

Guidelines

  • Column limit is a strict 99. Avoid newlines it is possible to fit within 99, and when it isn't add newlines as late as possible.
  • Multiline functions and structs should have commas after every field and parameter.
  • When doing multiline functions, use this style:
    pub fn QueryInformationJobObject(
        hJob: HANDLE, JobObjectInformationClass: JOBOBJECTINFOCLASS,
        lpJobObjectInformation: LPVOID, cbJobObjectInformationLength: DWORD,
        lpReturnLength: LPDWORD,
    ) -> BOOL;
  • Functions go into the respective -sys crate inside lib. All types and constants go into the main crate.