Skip to content

Commit

Permalink
std: refactor documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
mertcandav committed Jan 19, 2025
1 parent 5f841f9 commit 4e21f18
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion std/comptime/type.jule
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ impl comptimeTypeInfo {
// Supports only map types.
fn Value(self): comptimeTypeInfo

// Returns field informations for type.
// Returns field information for type.
// Supports only structure and enum types.
fn Fields(self): comptimeStructFields | comptimeEnumFields

Expand Down
2 changes: 1 addition & 1 deletion std/jule/importer/importer.jule
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ fn readBuff(path: str): []byte {
}

// Make compiler error, just text.
// Not includes row, column, and etc. informations.
// Does not includes information about row, column, and etc.
fn flatCompilerErr(text: str): build::Log {
ret build::Log{
Kind: build::LogKind.Error,
Expand Down
2 changes: 1 addition & 1 deletion std/jule/types/bits.jule
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ fn BitSizeOfUint(x: u64): int {
}
}

// Updates platform-specific informations by target.
// Updates platform-specific information based on the target.
// If you will update target configuration, you should call this function.
// In other words, new configurations is not applied for types.
fn UpdateTarget() {
Expand Down
2 changes: 1 addition & 1 deletion std/runtime/malloc.jule
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ cpp fn malloc(uint): *unsafe
// _64bit = 1 on 64-bit systems, 0 on 32-bit systems
const _64bit = 1 << (^uintptr(0) >> 63) / 2

// The informations of the comment is heavily adopted from the Go programming language.
// The information in the comment is heavily adapted from the Go programming language.
//
// The number of bits in a heap address. On amd64, addresses are sign-extended
// beyond heapAddrBits. On other arches, they are zero-extended.
Expand Down

0 comments on commit 4e21f18

Please sign in to comment.