Rotates the elements of self once to the right

var a = [12, 23, 34, 45]
a.rotate_right
assert a == [45, 12, 23, 34]

Property definitions

core $ Sequence :: rotate_right
	# Rotates the elements of self once to the right
	#
	# ~~~nit
	# var a = [12, 23, 34, 45]
	# a.rotate_right
	# assert a == [45, 12, 23, 34]
	# ~~~
	fun rotate_right do
		var lst = pop
		unshift lst
	end
lib/core/collection/abstract_collection.nit:1251,2--1261,4