env: Remove unnecessary `if` from main_sys_crate_name
This function always returns the value from sys_crate_name.
@@ -53,10 +53,6 @@ impl Env {
}
pub fn main_sys_crate_name(&self) -> &str {
- if &self.namespaces[MAIN_NAMESPACE].sys_crate_name != "gobject_ffi" {
- "ffi"
- } else {
- "gobject_ffi"
- }
+ &self.namespaces[MAIN_NAMESPACE].sys_crate_name
}
}
