Skip to content

Commit

Permalink
Fix a broken link in a doc comment. (#34)
Browse files Browse the repository at this point in the history
  • Loading branch information
sunfishcode authored Dec 22, 2022
1 parent 657ffaf commit 87f740b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wasi-common/cap-std-sync/src/net.rs
Original file line number Diff line number Diff line change
Expand Up @@ -387,7 +387,7 @@ pub fn get_fd_flags<Socketlike: AsSocketlike>(

/// Return the file-descriptor flags for a given file-like object.
///
/// This returns the flags needed to implement [`WasiFile::get_fdflags`].
/// This returns the flags needed to implement [`wasi_common::WasiFile::get_fdflags`].
pub fn is_read_write<Socketlike: AsSocketlike>(f: Socketlike) -> io::Result<(bool, bool)> {
// On Unix-family platforms, we have an `IsReadWrite` impl.
#[cfg(not(windows))]
Expand Down

0 comments on commit 87f740b

Please sign in to comment.