Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

os: update comments #19989

Merged
merged 1 commit into from Nov 26, 2023
Merged

os: update comments #19989

merged 1 commit into from Nov 26, 2023

Conversation

ttytm
Copy link
Member

@ttytm ttytm commented Nov 24, 2023

Adds line breaks for comments that should define sections in the source code to not make them part of doc comments.

E.g., like it's already done here:

v/vlib/os/file.c.v

Lines 415 to 419 in 399af67

// **************************** Read ops ***************************
// fread wraps C.fread and handles error and end-of-file detection.
fn fread(ptr voidptr, item_size int, items int, stream &C.FILE) !int {
nbytes := int(C.fread(ptr, item_size, items, stream))

Removes one sectional comments for OS ops since all operations are OS ops in that file

@medvednikov medvednikov merged commit b088f43 into vlang:master Nov 26, 2023
48 checks passed
@ttytm ttytm deleted the os/update-comments branch November 26, 2023 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants