You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Such an interface design is fine for libuv itself, but librustuv should present more meaningful interface such as offset: Option<u64>. Note that the role of the magic number -1 is documented nowhere in libuv (sample codes in the uvbook use it without any explanations.) That pretty much means the users of libuv are expected to go through its implementation code in C. But all the developers of Rust don't need to do so.
The text was updated successfully, but these errors were encountered:
These are not currently documented and could cause users to think
that their rust-analyzer configuration is broken.
Partially addresses rust-lang#17433.
lnicola
pushed a commit
to lnicola/rust
that referenced
this issue
Jun 23, 2024
…rs, r=Veykril
docs: document omission heuristics for parameter inlay hints
These are not currently documented and could cause users to think that their rust-analyzer configuration is broken.
Partially addresses rust-lang#17433.
The signature of uv_fs_read() is
and when we pass
-1
asoffset
,libuv
discards it in favor of the intrinsic file offset.(The same goes for write operations.)
Such an interface design is fine for
libuv
itself, butlibrustuv
should present more meaningful interface such asoffset: Option<u64>
. Note that the role of the magic number-1
is documented nowhere inlibuv
(sample codes in the uvbook use it without any explanations.) That pretty much means the users oflibuv
are expected to go through its implementation code in C. But all the developers of Rust don't need to do so.The text was updated successfully, but these errors were encountered: