fn check_path(path: &String) -> bool {
	if let Some(pos) = path.find('/') {
		if pos == 0 {
			return true;
		}
	}

	false
}
/// Help function to check if the argument is an abolute path
Help function to check if the argument is an abolute path
Help function to check if the argument is an abolute path
fn check_path(path: &String) -> bool {
	if let Some(pos) = path.find('/') {
		if pos == 0 {
			return true;
		}
	}
	false
}
fn check_path ( path : & String ) -> bool { if let Some ( pos ) = path . find ( '/' ) { if pos == 0 { return true ; } } false }
Help function to check if the argument is an abolute path
Help function to check if the argument is an abolute path
path
&String
path
&String