errors in c# Object.Instantiate in script reference

i try the examples in the script reference for the Object.Instantiate and i found errors with the script 2
the error is error CS0266: Cannot implicitly convert type UnityEngine.Object' to UnityEngine.Rigidbody’. An explicit conversion exists (are you missing a cast?)

i think for every people the reference must be without errors !!

Thanks to correct the page …

Seems like you need an explicit cast :

Object someObject = …;

Rigidbody someRigidbody = someObject as Rigidbody;