Metformin attenuates graft-versus-host disease via restricting mammalian target of rapamycin/signal transducer and activator of transcription 3 and promoting adenosine monophosphate-activated protein kinase-autophagy for the balance between T helper 17 and Tregs.