code: func (d *Diff) RootModule() *ModuleDiff {
  	root := d.ModuleByPath(addrs.RootModuleInstance)
  	if root == nil {
  		panic("missing root module")
  	}
  	return root
  }
docs: // RootModule returns the ModuleState for the root module