mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-06-01 09:42:41 +00:00
[Crate] Solve Cargo Doc redundant explicit link target
This commit is contained in:
parent
995ab23b51
commit
cb0486bded
1 changed files with 1 additions and 1 deletions
|
|
@ -151,7 +151,7 @@ pub struct TimeoutSettings {
|
||||||
impl TimeoutSettings {
|
impl TimeoutSettings {
|
||||||
/// Construct new settings, passing None will block indefinitely. Passing
|
/// Construct new settings, passing None will block indefinitely. Passing
|
||||||
/// zero Duration throws
|
/// zero Duration throws
|
||||||
/// GDErrorKind::[InvalidInput](crate::GDErrorKind::InvalidInput).
|
/// GDErrorKind::[InvalidInput].
|
||||||
pub fn new(read: Option<Duration>, write: Option<Duration>) -> GDResult<Self> {
|
pub fn new(read: Option<Duration>, write: Option<Duration>) -> GDResult<Self> {
|
||||||
if let Some(read_duration) = read {
|
if let Some(read_duration) = read {
|
||||||
if read_duration == Duration::new(0, 0) {
|
if read_duration == Duration::new(0, 0) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue