Skip to main content

relative

Function relative 

Source
pub fn relative(from: &str, to: &str) -> String
Expand description

How the file from names the file to, both paths as resolve gives them: relative to the folder from is in — a shared library’s file by its own name (see is_shared).