diff --git a/src/process.rs b/src/process.rs index e79ee4f..1370cc3 100644 --- a/src/process.rs +++ b/src/process.rs @@ -41,7 +41,7 @@ pub struct Process { impl Process { /// initialize a `Process` from a pid or a process name - pub fn from>(identifier: T) -> Result { + pub fn find>(identifier: T) -> Result { let identifier = identifier.into(); let snapshot = snapshot::ProcessSnapshot::get_processes()? .into_iter()