Wear assembly for machinery, the assembly comprising a wear element , a support element , each comprising respective openings , and a retaining pin that can be received into said respective openings for attaching the wear element and the support element to each other, wherein: - the retaining pin has at least first and second angularly and axially spaced retaining protrusions at least one of which is formed as a unitary piece together with the retaining pin , and wherein the first retaining protrusion is resiliently mounted relative to the retaining pin ; - the opening of the wear element has at least first and second cavities such that both the first and second retaining protrusions of the retaining pin can be passed therethrough, and - the opening of the support element has at least one inner recess for further receiving the second retaining protrusion of the retaining pin at least partially therein, wherein in use with the wear element and the support element assembled and attached to each other, the retaining pin is fully inserted through the respective aligned openings of the wear element and the support element , such that - in a first angular position of the retaining pin the retaining pin can be inserted both into the wear element and the support element when said elements are attached to each other, and - in a second angular position of the retaining pin , and once the retaining pin is inserted in both the wear element and the support element , the first retaining protrusion of the retaining pin is snap fitted in the first cavity of the wear element such that the retaining pin is prevented from being rotated relative to the wear element and the support element and the second retaining protrusion of the retaining pin is received into the inner recess of the support element abutting an inner surface of the wear element such that the retaining pin is prevented from being displaced axially relative to the wear element and the support element when both elements are attached to each other. - the retaining pin has at least first and second angularly and axially spaced retaining protrusions at least one of which is formed as a unitary piece together with the retaining pin , and wherein the first retaining protrusion is resiliently mounted relative to the retaining pin ; - the opening of the wear element has at least first and second cavities such that both the first and second retaining protrusions of the retaining pin can be passed therethrough, and - the opening of the support element has at least one inner recess for further receiving the second retaining protrusion of the retaining pin at least partially therein, - in a first angular position of the retaining pin the retaining pin can be inserted both into the wear element and the support element when said elements are attached to each other, and - in a second angular position of the retaining pin , and once the retaining pin is inserted in both the wear element and the support element , the first retaining protrusion of the retaining pin is snap fitted in the first cavity of the wear element such that the retaining pin is prevented from being rotated relative to the wear element and the support element and the second retaining protrusion of the retaining pin is received into the inner recess of the support element abutting an inner surface of the wear element such that the retaining pin is prevented from being displaced axially relative to the wear element and the support element when both elements are attached to each other. <EOS>