fix all warnings
This commit is contained in:
		@@ -239,7 +239,11 @@ impl PlantState {
 | 
			
		||||
        }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    pub fn to_mqtt_info(&self, plant_conf: &PlantConfig, current_time: &DateTime<Tz>) -> PlantInfo {
 | 
			
		||||
    pub fn to_mqtt_info(
 | 
			
		||||
        &self,
 | 
			
		||||
        plant_conf: &PlantConfig,
 | 
			
		||||
        current_time: &DateTime<Tz>,
 | 
			
		||||
    ) -> PlantInfo<'_> {
 | 
			
		||||
        PlantInfo {
 | 
			
		||||
            sensor_a: &self.sensor_a,
 | 
			
		||||
            sensor_b: &self.sensor_b,
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user