mirror of
https://github.com/tribufu/rust-gamedig
synced 2026-05-06 15:27:28 +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 {
|
||||
/// Construct new settings, passing None will block indefinitely. Passing
|
||||
/// zero Duration throws
|
||||
/// GDErrorKind::[InvalidInput](crate::GDErrorKind::InvalidInput).
|
||||
/// GDErrorKind::[InvalidInput].
|
||||
pub fn new(read: Option<Duration>, write: Option<Duration>) -> GDResult<Self> {
|
||||
if let Some(read_duration) = read {
|
||||
if read_duration == Duration::new(0, 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue