File tree Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Expand file tree Collapse file tree 1 file changed +16
-4
lines changed Original file line number Diff line number Diff line change @@ -329,13 +329,19 @@ impl<'a> DerefMut for MaybeUninitSlice<'a> {
329329pub struct TcpKeepalive {
330330 #[ cfg_attr( target_os = "openbsd" , allow( dead_code) ) ]
331331 time : Option < Duration > ,
332- #[ cfg( not( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ) ]
332+ #[ cfg( not( any(
333+ target_os = "openbsd" ,
334+ target_os = "redox" ,
335+ target_os = "solaris" ,
336+ target_os = "nto" ,
337+ ) ) ) ]
333338 interval : Option < Duration > ,
334339 #[ cfg( not( any(
335340 target_os = "openbsd" ,
336341 target_os = "redox" ,
337342 target_os = "solaris" ,
338- target_os = "windows"
343+ target_os = "windows" ,
344+ target_os = "nto" ,
339345 ) ) ) ]
340346 retries : Option < u32 > ,
341347}
@@ -345,13 +351,19 @@ impl TcpKeepalive {
345351 pub const fn new ( ) -> TcpKeepalive {
346352 TcpKeepalive {
347353 time : None ,
348- #[ cfg( not( any( target_os = "openbsd" , target_os = "redox" , target_os = "solaris" ) ) ) ]
354+ #[ cfg( not( any(
355+ target_os = "openbsd" ,
356+ target_os = "redox" ,
357+ target_os = "solaris" ,
358+ target_os = "nto" ,
359+ ) ) ) ]
349360 interval : None ,
350361 #[ cfg( not( any(
351362 target_os = "openbsd" ,
352363 target_os = "redox" ,
353364 target_os = "solaris" ,
354- target_os = "windows"
365+ target_os = "windows" ,
366+ target_os = "nto" ,
355367 ) ) ) ]
356368 retries : None ,
357369 }
You can’t perform that action at this time.
0 commit comments