Instant Rotation

Hi. I want to rotate an object to look at a point instantly but when I use transform.LookAt it just rotates around very slowly. Is there a way to make it look at something instantly without too much code?

transform.rotation = Quaternion.Euler(target.position - transform.position);

Try

 transform.forward = target.position - transform.position;