Update singleton.m

I think this snippet is more applicable to the most common case and means you only have to complete one placeholder.