Skip to content

Commit

Permalink
resolver: reword and mention Windows support
Browse files Browse the repository at this point in the history
  • Loading branch information
mathstuf authored and bluejekyll committed Oct 13, 2017
1 parent 816fd94 commit f4d8ae1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion resolver/src/resolver.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ impl Resolver {

/// Constructs a new Resolver with the system configuration.
///
/// This will read the systems `/etc/resolv.conf` on Unix OSes.
/// This will use `/etc/resolv.conf` on Unix OSes and the registry on Windows.
#[cfg(not(all(target_os = "windows", target_pointer_width = "32")))]
pub fn from_system_conf() -> io::Result<Self> {
let (config, options) = system_conf::read_system_conf()?;
Expand Down
2 changes: 1 addition & 1 deletion resolver/src/resolver_future.rs
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ impl ResolverFuture {

/// Constructs a new Resolver with the system configuration.
///
/// This will read the systems `/etc/resolv.conf` on Unix OSes.
/// This will use `/etc/resolv.conf` on Unix OSes and the registry on Windows.
#[cfg(not(all(target_os = "windows", target_pointer_width = "32")))]
pub fn from_system_conf(reactor: &Handle) -> io::Result<Self> {
let (config, options) = system_conf::read_system_conf()?;
Expand Down

0 comments on commit f4d8ae1

Please sign in to comment.