fmt: remove inline comments (#19263)

This commit is contained in:
yuyi 2023-09-04 04:51:56 +08:00 committed by GitHub
parent 3d2731fca7
commit 18e60e77de
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
50 changed files with 951 additions and 1034 deletions

View file

@ -712,7 +712,10 @@ pub fn executable() string {
}
$if freebsd {
bufsize := usize(max_path_buffer_size)
mib := [1 /* CTL_KERN */, 14 /* KERN_PROC */, 12 /* KERN_PROC_PATHNAME */, -1]
mib := [1, // CTL_KERN
14, // KERN_PROC
12, // KERN_PROC_PATHNAME
-1]
unsafe { C.sysctl(mib.data, mib.len, &result[0], &bufsize, 0, 0) }
res := unsafe { tos_clone(&result[0]) }
return res