[][src]Function env_perm::set

pub fn set<T: Display, U: Display>(var: T, value: U) -> Result<()>

Sets an environment variable without checking if it exists. If it does you will end up with two assignments in your profile. It's recommended to use check_or_set unless you are certain it doesn't exist.