Formation of the shear layer in toroidal edge plasma | Synapse