Insert some blank lines. · patricklam/verify-rust-std@93b2f7c (original) (raw)
Navigation Menu
- GitHub Copilot Write better code with AI
- GitHub Models New Manage and compare prompts
- GitHub Advanced Security Find and fix vulnerabilities
- Actions Automate any workflow
- Codespaces Instant dev environments
- Issues Plan and track work
- Code Review Manage code changes
- Discussions Collaborate outside of code
- Code Search Find more, search less
- Explore
- Pricing
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Commit 93b2f7c
Insert some blank lines.
After things that are immediately followed by a `use` declaration and look like they might apply to that `use` item but actually don't.
File tree
2 files changed
lines changed
2 files changed
lines changed
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
1 | 1 | #![cfg_attr(test, allow(dead_code))] // why is this necessary? |
2 | + | |
2 | 3 | use super::abi::usercalls; |
3 | 4 | use super::unsupported; |
4 | 5 | use crate::ffi::CStr; |
Lines changed: 1 addition & 0 deletions
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -21,6 +21,7 @@ pub mod netc { | ||
21 | 21 | //! |
22 | 22 | //! Some Windows API types are not quite what's expected by our cross-platform |
23 | 23 | //! net code. E.g. naming differences or different pointer types. |
24 | + | |
24 | 25 | use core::ffi::{c_char, c_int, c_uint, c_ulong, c_ushort, c_void}; |
25 | 26 | |
26 | 27 | use crate::sys::c::{self, ADDRESS_FAMILY, ADDRINFOA, SOCKADDR, SOCKET}; |