Replace from/into with get/new when necessary.

This commit is contained in:
4lDO2
2023-09-06 08:31:28 +02:00
parent 9d742387ac
commit f025ece614
13 changed files with 46 additions and 52 deletions
+5 -5
View File
@@ -100,15 +100,15 @@ pub fn resource() -> Result<Vec<u8>> {
};
string.push_str(&format!("{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<6}{:<12}{:<8}{}\n",
context.id.into(),
context.pgid.into(),
context.ppid.into(),
context.id.get(),
context.pgid.get(),
context.ppid.get(),
context.ruid,
context.rgid,
context.rns.into(),
context.rns.get(),
context.euid,
context.egid,
context.ens.into(),
context.ens.get(),
stat_string,
cpu_string,
affinity,