]> git.proxmox.com Git - rustc.git/blobdiff - library/std/src/sys/unsupported/args.rs
New upstream version 1.53.0+dfsg1
[rustc.git] / library / std / src / sys / unsupported / args.rs
index 71d0c5fa13e18a1a6167cec35eb34317c3829df6..c924a7d8a26723043424a4e64914619919bf2245 100644 (file)
@@ -1,17 +1,14 @@
 use crate::ffi::OsString;
 
-pub unsafe fn init(_argc: isize, _argv: *const *const u8) {}
-pub unsafe fn cleanup() {}
-
 pub struct Args {}
 
 pub fn args() -> Args {
     Args {}
 }
 
-impl Args {
-    pub fn inner_debug(&self) -> &[OsString] {
-        &[]
+impl fmt::Debug for Args {
+    fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result {
+        f.debug_list().finish()
     }
 }