complete std prefixes for stdlib (#22887)

follow up https://github.com/nim-lang/Nim/pull/22851
follow up https://github.com/nim-lang/Nim/pull/22873
This commit is contained in:
ringabout
2023-10-31 00:03:04 +08:00
committed by GitHub
parent 403e0118ae
commit 4d11d0619d
142 changed files with 277 additions and 275 deletions

View File

@@ -2,5 +2,5 @@
{.deprecated: "Use the new 'sugar' module instead".}
import sugar
import std/sugar
export sugar

View File

@@ -11,7 +11,7 @@
{.deprecated: "use `std/os` instead".}
import os
import std/os
export ReadEnvEffect, WriteEnvEffect, ReadDirEffect, WriteDirEffect, OSErrorCode,
doslikeFileSystem, CurDir, ParDir, DirSep, AltSep, PathSep, FileSystemCaseSensitive,
ExeExt, ScriptExt, DynlibFormat, ExtSep, joinPath, `/`, splitPath, parentDir,

View File

@@ -7,7 +7,7 @@
# distribution, for details about the copyright.
#
## This module is deprecated, `import os` instead.
{.deprecated: "import os.nim instead".}
import os
## This module is deprecated, `import std/os` instead.
{.deprecated: "import 'std/os' instead".}
import std/os
export PathComponent, walkDir, walkDirRec