Edge treatment of cans or tins