Under normal circumstances, the devaluation of the yuan would have a huge, negative impact on the Brazilian economy.
China is Brazil's main commercial partner, and a weaker yuan would mean a Brazilian loss in its terms of trade with the Asian giant.
But these are not normal circumstances in Brazil, as the country is facing its worst economic downturn in two decades.
One of the few positive side-effects of this is that the Brazilian real has dropped to its lowest level in 12 years, favouring Brazilian exports abroad.