]> git.lizzy.rs Git - rust.git/commit
Windows error codes: Move to a separate module
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 30 Apr 2021 14:56:28 +0000 (15:56 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Fri, 18 Jun 2021 17:51:47 +0000 (18:51 +0100)
commit9580f3336b96e3da02f976e86ccf1122a20df32b
treec349cb14f8778ef2cd0fb897156089274c6d4baa
parente7fb1a71cd71cb7a188807293f5325775f704bd5
Windows error codes: Move to a separate module

We're going to add many more of these.

This commit is pure code motion, plus the necessary administrivia, as
I have veried with the following runes:

  $ git-diff HEAD~ | grep '^+' |sort >plus
  $ git-diff HEAD~ | grep '^-' | perl -pe 's/^-/+/' |sort >min
  $ diff -ub min plus |less

The output is precisely the expected `mod` and `use` directives.

Signed-off-by: Ian Jackson <ijackson@chiark.greenend.org.uk>
library/std/src/sys/windows/c.rs
library/std/src/sys/windows/c/errors.rs [new file with mode: 0644]