Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: remove repetitive words #15586

Merged
merged 1 commit into from
Mar 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion core/src/avm1/object_reference.rs
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ struct MovieClipReferenceData<'gc> {
path: MovieClipPath<'gc>,

/// A weak reference to the target stage object that `path` points to
/// This is used for fast-path resvoling when possible, as well as for re-generating `path` (in the case the the target object is renamed)
/// This is used for fast-path resvoling when possible, as well as for re-generating `path` (in the case the target object is renamed)
/// If this is `None` then we have previously missed the cache, due to the target object being removed and re-created, causing us to fallback to the slow path resolution
cached_stage_object: Lock<Option<GcWeakCell<'gc, StageObjectData<'gc>>>>,
}
Expand Down
2 changes: 1 addition & 1 deletion core/src/avm2/namespace.rs
Original file line number Diff line number Diff line change
Expand Up @@ -185,7 +185,7 @@ impl<'gc> Namespace<'gc> {
{
api_version = ApiVersion::VM_INTERNAL;
}
// In avmplus, this conversion is done later in in 'getValidApiVersion'
// In avmplus, this conversion is done later in 'getValidApiVersion'
// However, there's no reason to hold on to invalid API versions for the
// current active series (player runtime), so let's just do the conversion immediately.
api_version =
Expand Down
2 changes: 1 addition & 1 deletion core/src/loader.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2445,7 +2445,7 @@ impl<'gc> Loader<'gc> {
if url.scheme() == "file" {
Loader::load_error_swf(mc, uc, url.to_string());
} else {
// Replacing the movie sets total_frames and and frames_loaded correctly.
// Replacing the movie sets total_frames and frames_loaded correctly.
// The movie just needs to be the default empty movie with the correct URL.
// In this loading state, the URL is the URL of the parent movie / doesn't change.

Expand Down
2 changes: 1 addition & 1 deletion swf/src/types/color.rs
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ impl Color {
/// The byte-ordering of the 32-bit `rgb` value is XXRRGGBB.
/// The most significant byte, represented by XX, is ignored;
/// the `alpha` value is provided separately.
/// This is followed by the the red (RR), green (GG), and blue (BB) components values,
/// This is followed by the red (RR), green (GG), and blue (BB) components values,
/// respectively.
///
/// # Examples
Expand Down
2 changes: 1 addition & 1 deletion video/software/src/decoder/vp6.rs
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ impl VideoDecoder for Vp6Decoder {
let v = &yuv[offsets.2..offsets.2 + chroma_width * chroma_height];

// Cropping the encoded frame (containing whole macroblocks) to the
// size requested by the the bounds attribute.
// size requested by the bounds attribute.

let &bounds = &self.bounds;

Expand Down