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.