noun
BAD : Public caning would deter other students from doing the offence.
GOOD : Public caning would deter other students from committing the offence.
◆◆◆
commit an offence (NOT do ): 'He is accused of committing various minor offences.'
noun
BAD : Public caning would deter other students from doing the offence.
GOOD : Public caning would deter other students from committing the offence.
◆◆◆
commit an offence (NOT do ): 'He is accused of committing various minor offences.'
Longman Common Errors English vocabulary. Английский словарь распространенных ошибок Longman. 2012