diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4464a8e7..3d9adcfd4 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -30,6 +30,7 @@ jobs: run: | sudo apt-get update # Run update first or install might start failing eventually. sudo apt-get install --no-install-recommends -y libasound2-dev libudev-dev pkg-config xorg-dev libxcb-shape0-dev libxcb-xfixes0-dev libxkbcommon-dev + - run: rustup update - run: rustc --version && cargo --version - name: Build # Use build instead of check since it needs to be built for tests anyway @@ -57,6 +58,7 @@ jobs: override: true - name: Install Dependencies run: curl https://rustwasm.github.io/wasm-pack/installer/init.sh -sSf | sh + - run: rustup update - run: rustc --version && cargo --version && wasm-pack --version - name: Build run: | @@ -108,6 +110,7 @@ jobs: toolchain: stable profile: minimal override: true + - run: rustup update - run: rustc --version && cargo --version - name: Build Docs run: cargo doc --all-features diff --git a/src/script/mod.rs b/src/script/mod.rs index 290e0fb14..cbc3f15d6 100644 --- a/src/script/mod.rs +++ b/src/script/mod.rs @@ -269,7 +269,7 @@ impl Script { /// /// ```rust /// use fyrox::handle_object_property_changed; -/// use fyrox::gui::inspector::PropertyChanged; +/// use fyrox::gui::inspector::{PropertyChanged, FieldKind}; /// use fyrox::core::inspect::{Inspect, PropertyInfo}; /// /// #[derive(Inspect)] @@ -316,7 +316,7 @@ macro_rules! handle_object_property_changed { /// /// ```rust /// use fyrox::{handle_collection_property_changed, handle_object_property_changed}; -/// use fyrox::gui::inspector::{PropertyChanged, CollectionChanged}; +/// use fyrox::gui::inspector::{PropertyChanged, CollectionChanged, FieldKind}; /// use fyrox::core::inspect::{Inspect, PropertyInfo}; /// /// // Wrap parameter in a newtype to implement `on_property_changed` method.